搜索资源列表
shader
- This file improve how to load shaders using GLSL and OpenGL
vshader.glsl
- #version 130 in vec4 vPosition in vec4 vColor out vec4 color uniform int xsize uniform int ysize void main() { mat4 scale = mat4(2.0/xsize, 0.0, 0.0, 0.0, 0.0, 2.0/ysize, 0.0, 0.0, 0.0, 0.0, 1.0, 0