Skip to content

Instantly share code, notes, and snippets.

@nakamura001
Created April 7, 2012 16:22
Show Gist options
  • Save nakamura001/2330104 to your computer and use it in GitHub Desktop.
Save nakamura001/2330104 to your computer and use it in GitHub Desktop.
[GLSL]色を変える
Shader "test" {
Properties {
_Color ("Color", Color) = (1, 0, 0)
}
SubShader {
Color [_Color]
Pass {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment