Disabled external gits
This commit is contained in:
14
cs440-acg/ext/nanogui/resources/imageview_vertex.gles
Normal file
14
cs440-acg/ext/nanogui/resources/imageview_vertex.gles
Normal file
@@ -0,0 +1,14 @@
|
||||
precision highp float;
|
||||
|
||||
uniform mat4 matrix_image;
|
||||
uniform mat4 matrix_background;
|
||||
attribute vec2 position;
|
||||
varying vec2 position_background;
|
||||
varying vec2 uv;
|
||||
|
||||
void main() {
|
||||
vec4 p = vec4(position, 0.0, 1.0);
|
||||
gl_Position = matrix_image * p;
|
||||
position_background = (matrix_background * p).xy;
|
||||
uv = position;
|
||||
}
|
Reference in New Issue
Block a user