Skip to content
The shader scaffolding tool for Unity.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ShaderWiz
LICENSE
README.md
ShaderWiz.sln

README.md

ShaderWiz 1.0

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.

Features

  • Support for vertex shader options
  • Support for fragment shader options
  • Support for geometry shader options
  • Support for surface shader options

Example

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"
}

Screenshot

Screenshot

Links:

You can’t perform that action at this time.