Deferred shader. Not affected by environment light. How to fix?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
Dommel
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

PostMon Feb 05, 2018 4:44 pm

Hi all!

Great shader tool! However I am running into an issue:

I have built a shader using the Deferred Render Path (the project is also Deferred).
The effect of the Environment Lighting (as set in the Lighting panel of Unity). Does nothing. Shadows that fall on objects that have this shader are all black.
While when those same shadows fall on other objects using Unités default (PBR rough) shader, are affected and so less dark.

Image of the result in scene view:


More images, eg shader settings:


Thanks for helping!

Robert
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “General Discussion”



Who is online

Online users: No registered users and 1 guest