Introduction to Shaders
CG C for Graphics – Nvidia
HLSL High Level Shader Language – Microsoft
GLSL OpenGL Shader Language – OpenGL
Shader "Folder/Name"
{
Properties
{
_Color ("Color", Color) = (1.0, 0, 0, 1.0)
}
SubShader
{
Pass
{
CGPROGRAM
// pragma
// variables
// structs
// functions
ENDCG
}
}
}
Warning: Undefined variable $fields in /mnt/web022/e3/96/54323296/htdocs/wp-content/themes/profession/profession/comments.php on line 16