- Home /
Multiple lights disable additive intensity for Sprites-Diffuse?
I've been searching up and down for a pre-built solution for this issue, but none exist that I know of. I'm in need of a shader that caps lighting intensity in some way. If the larger light value is taken per pixel, that would be ideal.
The answer to the following was useful, but I am working with a Sprites-Diffuse.shader, so if some shader genius could extract the solution and inject it into the built in Sprites-Diffuse, you would be my hero: https://answers.unity.com/questions/1534184/blendop-max-in-a-shader-cuts-sprites-to-half-opaci.html
This solution would otherwise work, but the provided shader just lacks many base features.
I think the key here is to utilize BlendOp Max somewhere, but I am such a novice at CG.
The upper image is Sprites-Diffuse
The lower image is using the shader provided in the link
Your answer
Follow this Question
Related Questions
2D Sptite Shader Character in 3D World 0 Answers
Finding object scale within a shader 1 Answer
Light and 2D Sprite overlapping issue 1 Answer
Way to have 2D Sprites lit by Lights? 3 Answers