We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a1a17a commit ce25bf4Copy full SHA for ce25bf4
src/shaders/line.fragment.glsl
@@ -166,6 +166,7 @@ void main() {
166
out_color = apply_lighting_with_emission_ground(out_color, emissive_strength);
167
#ifdef RENDER_SHADOWS
168
float light = shadowed_light_factor(v_pos_light_view_0, v_pos_light_view_1, v_depth);
169
+ light = mix(light, 1.0, emissive_strength);
170
#ifdef ELEVATED_ROADS
171
out_color.rgb *= mix(v_road_z_offset != 0.0 ? u_ground_shadow_factor : vec3(1.0), vec3(1.0), light);
172
#else
0 commit comments