Standardize fog
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
parent
b1a777b12d
commit
47ec25ba08
2 changed files with 153 additions and 153 deletions
|
@ -15,7 +15,7 @@ attribute vec3 tangent, binormal;
|
|||
////fog "include"////////
|
||||
uniform int fogType;
|
||||
|
||||
void fog_func(int type);
|
||||
void fog_Func(int type);
|
||||
/////////////////////////
|
||||
|
||||
void main(void)
|
||||
|
@ -31,5 +31,5 @@ void main(void)
|
|||
+ gl_Color * (gl_LightModel.ambient + gl_LightSource[0].ambient);
|
||||
gl_Position = ftransform();
|
||||
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
|
||||
fog_func(fogType);
|
||||
fog_Func(fogType);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue