Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Attached lights broken in deferred rendering http://sldev.free.fr/forum/viewtopic.php?f=4&t=1960 |
Page 1 of 1 |
Author: | Duncan Armundsen [ 2019-09-15 15:39:33 ] | ||
Post subject: | Attached lights broken in deferred rendering | ||
Attached lights only light up objects/textures that have transparency since v1.26.22.60 (and v1.26.22.59) . At the photo i wear a light emitting sphere attached to my avatar. The left cube is set to transparent by 1%, the right one has no transparency set. It is also visible at my clothes and the platform: no transparency -> no light gets rendered. It doesn't happen in non-deferred rendering and also not in v1.26.22.58 and before.
|
Author: | Henri Beauchamp [ 2019-09-15 16:15:37 ] |
Post subject: | Re: Attached lights broken in deferred rendering |
There has been no change about how lights are rendered between the viewer versions you mention... Are you sure you did not simply disable "Attached lights" ?... |
Author: | Duncan Armundsen [ 2019-09-15 16:55:34 ] |
Post subject: | Re: Attached lights broken in deferred rendering |
Attached lights are turned on. Surprisingly it happens now also on v1.26.22.58. I didn't change any settings except RenderCullWater. Also the Nvidia driver is still the same. 4 days ago it worked as expected. I will investigate what could happen. |
Author: | Duncan Armundsen [ 2019-09-15 17:51:20 ] | |||||||||||
Post subject: | Re: Attached lights broken in deferred rendering | |||||||||||
I tried now v1.26.22.57 and attached lights work as expected. Going back to v1.26.22.58 or v1.26.22.60 breaks it again.
|
Author: | Duncan Armundsen [ 2019-09-15 20:20:32 ] |
Post subject: | [fixed] Re: Attached lights broken in deferred rendering |
After resetting "UseObjectCacheOcclusion" and "UseOcclusion" to default, issue is fixed. Toggling TRUE/FALSE didn't help and both settings were untouched at TRUE before. It was needed to push the "Reset to default"-button. |
Author: | Henri Beauchamp [ 2019-09-15 22:25:34 ] | |||||||||||||||||||||||||||
Post subject: | Re: Attached lights broken in deferred rendering | |||||||||||||||||||||||||||
I'll check it... But since you are using the Linux viewer, you should be able to test it yourself, by changing lines 8577 and below in linden/indra/newview/llpipeline.cpp to read:
And then recompile... This would disable the fix that could cause your issue. |
Author: | Duncan Armundsen [ 2019-09-16 00:42:00 ] |
Post subject: | Re: Attached lights broken in deferred rendering |
Yes, after disabling the fix, attached lights work for me again as expected. Thank you! |
Author: | Henri Beauchamp [ 2019-09-16 09:14:51 ] | |||||||||
Post subject: | Re: Attached lights broken in deferred rendering | |||||||||
Good ! Now, it would be great if you could also test the following fix, replacing lines 8569 to 8583 (inclusive) of llpipeline.cpp with:
|
Author: | Duncan Armundsen [ 2019-09-16 09:48:36 ] | |||||||||
Post subject: | Re: Attached lights broken in deferred rendering | |||||||||
Yes, that works! Only a bracket in line 8580 was missing:
Attached lights get rendered as expected |
Author: | Henri Beauchamp [ 2019-09-16 10:07:22 ] |
Post subject: | Re: Attached lights broken in deferred rendering |
Thank you ! |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |