Demos #10
1 changed files with 2 additions and 2 deletions
|
|
@ -92,10 +92,10 @@ LOC(1) ATT vec2 tex_coords;
|
|||
|
||||
void main() {
|
||||
#ifdef VBO_BATCH
|
||||
vec3 position = vec3(positions*4,1.0);
|
||||
vec3 position = vec3(positions*4.0,1.0);
|
||||
uv = tex_coords;
|
||||
#else
|
||||
vec3 position = mat3(matrix_1.x,matrix_1.y,0,matrix_1.z,matrix_1.w,0,matrix_2.xy,1) * vec3(positions,1.0);
|
||||
vec3 position = mat3(matrix_1.x,matrix_1.y,0,matrix_1.z,matrix_1.w,0,matrix_2.xy,1.0) * vec3(positions,1.0);
|
||||
uv = tex_coords * uv_transform.zw + uv_transform.xy;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue