Merge pull request #11453 from Menithal/entity-custom-shader-emit-fix

Experimental Fix: Entity Shader Lightmap use / emissive
This commit is contained in:
Sam Gateau 2017-09-26 09:39:33 -07:00 committed by GitHub
commit ff1101cc69

View file

@ -75,7 +75,7 @@ void main(void) {
max(0, 1.0 - shininess / 128.0),
DEFAULT_METALLIC,
specular,
specular);
vec3(clamp(emissiveAmount, 0.0, 1.0)));
} else {
packDeferredFragment(
normal,