To add a High-Level ShaderA program that runs on the GPU. More info
See in Glossary Language (HLSL) program to a shader file, add the code to the Pass block. Wrap the code in HLSLPROGRAM and ENDHLSL macros. For example:
Shader "Examples/ExampleShader"
{
SubShader
{
Pass
{
Name "ExamplePassName"
HLSLPROGRAM
// Add HLSL shader program code here
ENDHLSL
}
}
}