|
|
@ -221,8 +221,8 @@ void main(){ |
|
|
|
light.y = 1.0; |
|
|
|
light.y = 1.0; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
gl_FragColor.rgb += DiffuseSum.rgb * lightColor.rgb * diffuseColor.rgb * vec3(light.x) + |
|
|
|
gl_FragColor.rgb += DiffuseSum.rgb * lightColor.rgb * diffuseColor.rgb * vec3(light.x) + |
|
|
|
SpecularSum2.rgb * specularColor.rgb * vec3(light.y); |
|
|
|
SpecularSum2.rgb * lightColor.rgb * specularColor.rgb * vec3(light.y); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|