Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3507 Members - Latest Member: Edgebteme

26. May 2012, 07:33:04 am
Xith3D CommunityXith3D InternalsDeveloper discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)Bloom effect
Pages: [1]
Print
Author Topic: Bloom effect  (Read 1135 times)
Mancer
Enjoying the stay
*
Offline Offline

Posts: 68


View Profile
« on: 29. June 2008, 10:17:50 pm »

I have committed my bloom effect.

I saw the PostEffet testcase is repared but I still have my problem with the skybox not visible...
Marvin, can you help me ? I can't find the reason why...

Moreover, I have tried to add some bloom to BPSLoader testcase but if i do that, there is a lot of rendering issues.
(I'm not sure but it seems to be linked to the RenderToTexture functionnality...)

just add this at line 433
Code:
EffectFactory.getInstance().getBloomFactory().prepareForBloom( env, canvas, scene );
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 29. June 2008, 10:44:05 pm »

This looks really great, man. Again: Many thanks for the new effect factory. Unfortunately you forgot to commit the shader files.

The SkyBox problem is fixed.

Marvin
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 29. June 2008, 11:01:56 pm »

The GLSLBloomFactory is referring to a texture resource named "empty". This texture does not exist and are you sure, you don't want to use the result of something like this instead:
Code:
TextureCreator.createTexture( Texture.Format.RGBA, w, h, backgroundColor );

Marvin
Logged
Mancer
Enjoying the stay
*
Offline Offline

Posts: 68


View Profile
« Reply #3 on: 30. June 2008, 09:52:17 am »

This looks really great, man. Again: Many thanks for the new effect factory.
Thanks a lot  Wink

This looks really great, man. Again: Many thanks for the new effect factory. Unfortunately you forgot to commit the shader files.

Oups.. it appears I always forget something these days ...  Cheesy
This is fixed, i have committed the updated media.jar file

The GLSLBloomFactory is referring to a texture resource named "empty". This texture does not exist and are you sure, you don't want to use the result of something like this instead...

You're right, the "empty" field is not needed anymore now...
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #4 on: 30. June 2008, 10:56:57 am »

Now it works. Really great. man. Keep on the good work.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic