Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Deferred shading - light accumulation issue

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 bantherewind   Members   

104
Like
0Likes
Like

Posted 07 November 2012 - 12:39 PM

Sorry, I'm new here. Posted in wrong forum, but can't delete. Post moved here:
http://www.gamedev.net/topic/634071-deferred-shading-light-accumulation-issue/

Edited by bantherewind, 07 November 2012 - 01:51 PM.


#2 kauna   Members   

2922
Like
0Likes
Like

Posted 07 November 2012 - 01:54 PM

I'm not sure if I understand the problem correctly, but several points came to my mind:

- have you disabled your z-test / z-writes for the lights?
- are you drawing the lights additively to the accumulation buffer? You'll need to set source and destination blend values to GL_ONE.

Cheers!




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.