Issues with the HDR post processor

This post has 1 Reply | 3 Followers

Top 25 Contributor
Posts 232
SunBurn_Community_Licensee
SunBurn_Pro_Licensee
2.0 Studios Posted: 06-10-2012 12:53 PM

I am having a similar issue to
http://www.synapsegaming.com/forums/p/1660/9075.aspx#9075

 

Basicly if I add the HDR post processor nothing renders and everything is black.

This is my code to render the scene:

sceneState.BeginFrameRendering(View, Projection, GameTime, environment, frameBuffers, true);
SceneInterface.BeginFrameRendering(sceneState);
//SkyDome.GET.Render(View, SkyProjection, Camera.Position, Graphics.GraphicsDevice, (RenderTarget2D)MainRenderTargetHelper.GetTexture(), in_GameTime);
SceneInterface.RenderManager.Render();    
SceneInterface.EndFrameRendering();
sceneState.EndFrameRendering();

 

If I add a HRD processor to the scene like this during the load of the game I go from getting everything rendering correctly to nothing rendering but black.

// Create the HDR post processor.
SceneInterfacek.PostProcessManager.AddPostProcessor(new HighDynamicRangePostProcessor());

Do you have any ideas on how to fix this? I have tried everything from the post above.

Thanks!

  • Filed under:
Top 10 Contributor
Posts 5,368
Employee
SunBurn_Studio_Licensee

Hi 2.0,

Are there any other post processors active?  Is it possible the problem is with how the post processors interact with one another?

Let me know if this helps!

Follow me on Twitter – development and personal tweets
Awesome XNA Videos – Lighting, Rendering, and game videos

Page 1 of 1 (2 items) | RSS