Question by
fireArchMage23 · Nov 27, 2015 at 09:27 AM ·
shaderfloatvectorpropertiessyntax
Shader properties - float or vector?
Im am working on a shader and I have a property that I want to only have xyz values in it. Currently it is coded as a vector.
_L0Pos ("Point 0 Position", vector) = (-0.5, 2.0, 1.25)
Is this syntax correct and/or is there a better way to code this? Example:
_L0Pos ("Point 0 Position", float3) = (-0.5, 2.0, 1.25)
Comment