Hi, I’ve searched and searched and can’t find a shader what has this functionality :
- for mobile
- vertex lit
- only for directional lights
So far, this shader exists. But I want to change the the tint (color?) with script sometimes. Is that possible?
Thanks in advance,
Tim.
mgear
3
from download pages, you can get builtin shader sources,
Download Archive (see download dropdown)
and then can modify that shader,
its in \builtin_shaders-UNITYVERSION\DefaultResourcesExtra\Mobile\Mobile-VertexLit-OnlyDirectionalLights.shader
see simple shader examples, like the one using single color,
so you would add color property, and multiple your c.rgb with the color variable.