Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
vec4 finalColor = vec4(
finalAmbient +
finalDiffuse +
#ifndef UNLIT
#ifdef REFLECTION
finalIrradiance +
Expand All @@ -27,7 +25,8 @@ vec4 finalColor = vec4(
subSurfaceOut.finalRefraction +
#endif
#endif
finalEmissive,
finalAmbient +
finalDiffuse,
alpha);

// _____________________________ LightMappping _____________________________________
Expand All @@ -41,6 +40,9 @@ vec4 finalColor = vec4(
#endif
#endif

// _____________________________ EmissiveLight _____________________________________
finalColor.rgb += finalEmissive;

#define CUSTOM_FRAGMENT_BEFORE_FOG

// _____________________________ Finally ___________________________________________
Expand Down