summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_scene_gles3.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-12-01 08:42:57 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-12-01 08:45:36 -0300
commit0243803117b2a67a33a9e01cf97e79ea4cf48c54 (patch)
treef17c3f1bc5905dda81c04808f83a0a374493cdda /drivers/gles3/rasterizer_scene_gles3.h
parentd81c5004b1eb7e2041e18e8f4af1a6ac38be3fce (diff)
Properly take into consideration that VERTEX must be written to in opaque pre pass, does some speed up to scenes using triplanar.
Diffstat (limited to 'drivers/gles3/rasterizer_scene_gles3.h')
-rw-r--r--drivers/gles3/rasterizer_scene_gles3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h
index 69b43c7813..a1ad239469 100644
--- a/drivers/gles3/rasterizer_scene_gles3.h
+++ b/drivers/gles3/rasterizer_scene_gles3.h
@@ -78,6 +78,11 @@ public:
RID default_shader;
RID default_shader_twosided;
+ RID default_worldcoord_material;
+ RID default_worldcoord_material_twosided;
+ RID default_worldcoord_shader;
+ RID default_worldcoord_shader_twosided;
+
RID default_overdraw_material;
RID default_overdraw_shader;