summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/rasterizer_scene_gles3.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-07-22 13:17:32 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-07-22 13:18:27 -0300
commitad8897984183d29b52128d8ad5db6ca7d2ff8278 (patch)
treea1e04cedf99cdf3422d91b9f769fc29a37dc4581 /drivers/gles3/rasterizer_scene_gles3.h
parent89e1b302b504feb1cea218adcc6fac77c8ae0052 (diff)
downloadredot-engine-ad8897984183d29b52128d8ad5db6ca7d2ff8278.tar.gz
Fix opaque pre pass not casting shadows
Diffstat (limited to 'drivers/gles3/rasterizer_scene_gles3.h')
-rw-r--r--drivers/gles3/rasterizer_scene_gles3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h
index 524212b9c1..71c16042a2 100644
--- a/drivers/gles3/rasterizer_scene_gles3.h
+++ b/drivers/gles3/rasterizer_scene_gles3.h
@@ -141,6 +141,7 @@ public:
float subsurface_scatter_width;
float ambient_occlusion_affect_light;
float ambient_occlusion_affect_ssao;
+ float opaque_prepass_treshold;
uint32_t fog_depth_enabled;
float fog_depth_begin;
@@ -152,7 +153,7 @@ public:
float fog_height_max;
float fog_height_curve;
// make sure this struct is padded to be a multiple of 16 bytes for webgl
- float pad[3];
+ float pad[2];
} ubo_data;