2010-01-27 17:52:18 +00:00
|
|
|
// -*-C++-*-
|
2012-02-14 16:38:18 +00:00
|
|
|
#version 120
|
2010-01-27 17:52:18 +00:00
|
|
|
|
|
|
|
vec4 ambientColor()
|
|
|
|
{
|
|
|
|
return gl_FrontMaterial.ambient;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec4 diffuseColor()
|
|
|
|
{
|
|
|
|
return gl_Color;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec4 specularColor()
|
|
|
|
{
|
|
|
|
return gl_FrontMaterial.specular;
|
|
|
|
}
|
|
|
|
|
|
|
|
vec4 emissionColor()
|
|
|
|
{
|
|
|
|
return gl_FrontMaterial.emission;
|
|
|
|
}
|