z3y/ShaderGraph

Light Intensity from alpha?

GeekAndProud opened this issue · 1 comments

Is it possible to get the light intensity from the alpha channel for VRC as Amplify has this node setup;

https://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Light_Color

z3y commented

With a custom function node add a float4 output
Out = _LightColor0.rgba;