How Can I edit Deferred Shader to enable Translucency?
The two way that I’m thinking about:
-
Modifying the Internal-DeferredShading shader. Actually would be best. But I’m not sure Can it operate with the variables/properties?
-
Local shader solution. Calculation inside a regular shader then add to GBuffer3? Some other effects usually working like this (for example Ambient Translucency part works). But I see the problem is in the light attenuation? Can it be workarounded inside the shader?