fireball/lib/renderers/shaders/ShaderChunk/lights_phong_fragment.glsl
2018-12-25 17:29:22 +03:30

6 lines
192 B
GLSL

BlinnPhongMaterial material;
material.diffuseColor = diffuseColor.rgb;
material.specularColor = specular;
material.specularShininess = shininess;
material.specularStrength = specularStrength;