ShaderWiz is a shader scaffolding tool for Unity that helps you configure your shader to work with the engine. All the necessary property fields, input struct members, preprocessor directives, custom functions that you would normally have to write by hand when you create a shader are generated for you. ShaderWiz also includes helpful comments in the generated skeleton to help you get started quickly.
- Support for vertex shader options
- Support for fragment shader options
- Support for geometry shader options
- Support for surface shader options
Shader "NewShader" {
Subshader {
Tags { "ForceNoShadowCasting" = "True" "IgnoreProjector" = "True" }
Pass {
CGPROGRAM
#pragma vertex vertex
#pragma fragment fragment
#pragma target 2.0
#include "UnityCG.cginc"
// If you want to access a property, declare it here with the same name.
struct v2f {
// Define vertex output struct here.
};
v2f vertex (appdata_full v) {
// Implement vertex shader here.
}
half4 fragment (v2f i) : COLOR {
// Implement fragment shader here.
}
ENDCG
}
}
Fallback "Diffuse"
}