1
0
Fork 0
fgdata/Shaders/mode-diffuse.vert
timoore bfaaef8aef Effects and shaders for material animations
Author: Tim Moore <timoore@redhat.com>
2010-01-27 17:52:18 +00:00

21 lines
249 B
GLSL

// -*-C++-*-
vec4 ambientColor()
{
return gl_FrontMaterial.ambient;
}
vec4 diffuseColor()
{
return gl_Color;
}
vec4 specularColor()
{
return gl_FrontMaterial.specular;
}
vec4 emissionColor()
{
return gl_FrontMaterial.emission;
}