Skip to content

Commit

Permalink
add precision flags to height and control map arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtarsia committed Sep 28, 2024
1 parent 3823f4b commit 446b80a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shaders/main.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ uniform float _vertex_density = 1.0; // = 1/_vertex_spacing
uniform int _region_map_size = 32;
uniform int _region_map[1024];
uniform vec2 _region_locations[1024];
uniform sampler2DArray _height_maps : repeat_disable;
uniform usampler2DArray _control_maps : repeat_disable;
uniform highp sampler2DArray _height_maps : repeat_disable;
uniform highp usampler2DArray _control_maps : repeat_disable;
//INSERT: TEXTURE_SAMPLERS_NEAREST
//INSERT: TEXTURE_SAMPLERS_LINEAR
uniform float _texture_uv_scale_array[32];
Expand Down

0 comments on commit 446b80a

Please sign in to comment.