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
3 changes: 2 additions & 1 deletion src/engine/renderer/glsl_source/lightMapping_fp.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ void main()
#if defined(r_specularMapping) || defined(r_physicalMapping)
// Compute the material term.
vec4 material = texture2D(u_MaterialMap, texCoords);
#elif defined(r_realtimeLighting) && r_realtimeLightingRenderer == 1
#elif ( defined(r_realtimeLighting) && r_realtimeLightingRenderer == 1 )\
|| defined( USE_DELUXE_MAPPING ) || defined(USE_GRID_DELUXE_MAPPING )
// The computeDynamicLights function requires this variable to exist.
vec4 material = vec4( 0.0, 0.0, 0.0, 1.0 );
#endif
Expand Down