Surface Shaderのサンプル集
Unity – Manual: Surface Shader examples
https://docs.unity3d.com/Manual/SL-SurfaceShaderExamples.html
SurfaceOutput
、SurfaceOutputStandard
の定義と#pragma surface
ディレクティブに書けるキーワード
Unity – Manual: Writing Surface Shaders
https://docs.unity3d.com/Manual/SL-SurfaceShaders.html
Surface Shadersでlighting modelsを自作するサンプル集
Unity – Manual: Surface Shader lighting examples
https://docs.unity3d.com/Manual/SL-SurfaceShaderLightingExamples.html
vertex shader、fragment shaderのサンプル集
Unity – Manual: Vertex and fragment shader examples
https://docs.unity3d.com/Manual/SL-VertexFragmentShaderExamples.html
vertex shader、fragment shaderのサンプル集appdata_base
、appdata_tan
、appdata_full
について
Unity – Manual: Providing vertex data to vertex programs
https://docs.unity3d.com/Manual/SL-VertexProgramInputs.html
UNITY_MATRIX
、unity_ObjectToWorld
、_Time
などのBuilt-in変数
Unity – Manual: Built-in shader variables
https://docs.unity3d.com/Manual/SL-UnityShaderVariables.html