Merge pull request #12526 from tagcup/ubo_fix
Add viewport to the other SceneData struct.
This commit is contained in:
commit
d582cab207
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue