Sign in to follow this  

Deferred Shading, DirectX 9 scissor question

This topic is 2790 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm working on a rendering side project in which I'm using a deferred shading method with the DirectX 9 SDK. When I first added a few lights to the scene I didn't notice a hit in frame rate, but when around 70 lights were added to the scene it became unplayable. So I started using scissor rects, but now whenever the camera is close to the lights there appears to be a dark outlining where the end of the scissor rect is.

Share this post


Link to post
Share on other sites
I'm creating the clip rect similar to the way that is in the Nvidia SDK 9.5, the deferred shading example, where you pass in the lights position and range and create a clip rect from that data. Even if I expand the range of the lights beyond the radius that they are lighting, I still get dark rectangles that appear at the sides of the screen.

Share this post


Link to post
Share on other sites

This topic is 2790 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this