Property types in ShaderLab map to Cg/HLSL variable types this way:
- Color and Vector properties map to float4, half4 or fixed4 variables.
- Range and Float properties map to float, half or fixed variables.
- Texture properties map to sampler2D variables for regular (2D) textures; Cubemaps map to samplerCUBE; and 3D textures map to sampler3D.
https://docs.unity3d.com/Manual/SL-SurfaceShaders.html
Tags
http://docs.unity3d.com/462/Documentation/Manual/SL-SubshaderTags.html 光照 模型 之後再談brdf
Tags
http://docs.unity3d.com/462/Documentation/Manual/SL-SubshaderTags.html 光照 模型 之後再談brdf
沒有留言:
張貼留言