Is there a way to extend “SurfaceOutput” writing a custom light model? If not, is there a way to send the light model additional parameter?
- declare a property in CGPROGRAM block (also like external parameters from shader)
- assign a value in ‘surf’ method
- read a value in lighting model