Skip to content

Instantly share code, notes, and snippets.

@phest
phest / StandardSurfaceShaderWithVertexColor.shader
Created June 15, 2017 20:47
unity standard shader modified to display vertex colors
Shader "Custom/StandardSurfaceShaderWithVertexColor" {
Properties {
_MainTint("Global Color Tint", Color) = (1,1,1,1)
}
SubShader {
Tags { "RenderType"="Opaque" }
LOD 200
CGPROGRAM
#pragma surface surf Lambert vertex:vert
### Keybase proof
I hereby claim:
* I am phest on github.
* I am stephthirion (https://keybase.io/stephthirion) on keybase.
* I have a public key ASBJqViGdZ63jY_KiM3bHiDfSyLjKF4EWyhk7uhRKXwQlAo
To claim this, I am signing this object: