add type to shader include

This commit is contained in:
ZappoMan 2015-07-23 15:37:56 -07:00
parent e6262de864
commit 8007fba909

View file

@ -21,8 +21,8 @@ float evalOpaqueFinalAlpha(float alpha, float mapAlpha) {
return mix(alpha * glowIntensity, 1.0 - alpha * glowIntensity, step(mapAlpha, alphaThreshold));
}
const DEFAULT_SPECULAR = vec3(0.1);
const DEFAULT_SHININESS = 10;
const vec3 DEFAULT_SPECULAR = vec3(0.1);
const float DEFAULT_SHININESS = 10;
void packDeferredFragment(vec3 normal, float alpha, vec3 diffuse, vec3 specular, float shininess) {
if (alpha != glowIntensity) {