Closed blowfishpro closed 4 years ago
MATERIAL
transform
baseTransform
FLOAT
shaderProperty
value
COLOR
_Color
color
TEXTURE
currentTexture
texture
isNormalMap
_MainTex
isNormalMap = false
_BumpMap
isNormalMap = true
MATERIAL
nodes on subtypestransform
defines GameObjects on which to use renderersbaseTransform
defines GameObjects and children on which to use renderersFLOAT
- modifies a float propertyshaderProperty
- name of the shader property to modifyvalue
- float to set the value toCOLOR
- modifies a color propertyshaderProperty
- name of the shader property to modify (default_Color
)color
- color to set the property to, can be spefied in any of the regular formatsTEXTURE
modifies a texture propertycurrentTexture
- name of current texture to match when buildingtexture
- path to new texture to switch toisNormalMap
- whether to access the texture as a normal map or notshaderProperty
- shader property to modify the color on_MainTex
ifisNormalMap = false
_BumpMap
isisNormalMap = true