mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:41:20 +02:00
Merge pull request #11453 from Menithal/entity-custom-shader-emit-fix
Experimental Fix: Entity Shader Lightmap use / emissive
This commit is contained in:
commit
ff1101cc69
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ void main(void) {
|
||||||
max(0, 1.0 - shininess / 128.0),
|
max(0, 1.0 - shininess / 128.0),
|
||||||
DEFAULT_METALLIC,
|
DEFAULT_METALLIC,
|
||||||
specular,
|
specular,
|
||||||
specular);
|
vec3(clamp(emissiveAmount, 0.0, 1.0)));
|
||||||
} else {
|
} else {
|
||||||
packDeferredFragment(
|
packDeferredFragment(
|
||||||
normal,
|
normal,
|
||||||
|
|
Loading…
Reference in a new issue