Merge pull request #12526 from tagcup/ubo_fix

Add viewport to the other SceneData struct.
This commit is contained in:
Juan Linietsky 2017-10-30 22:06:53 -03:00 committed by GitHub
commit d582cab207
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -665,6 +665,7 @@ layout(std140) uniform SceneData {
highp float shadow_dual_paraboloid_render_zfar;
highp float shadow_dual_paraboloid_render_side;
highp vec2 viewport_size;
highp vec2 screen_pixel_size;
highp vec2 shadow_atlas_pixel_size;
highp vec2 directional_shadow_pixel_size;