mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-15 21:00:02 +01:00
Added FisheyeGl Module
This commit is contained in:
12
src/modules/FisheyeGl/shaders/vertex.glvs.js
Normal file
12
src/modules/FisheyeGl/shaders/vertex.glvs.js
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports = "#ifdef GL_ES\n\
|
||||
precision highp float;\n\
|
||||
#endif\n\
|
||||
attribute vec3 aVertexPosition;\n\
|
||||
attribute vec2 aTextureCoord;\n\
|
||||
varying vec3 vPosition;\n\
|
||||
varying vec2 vTextureCoord;\n\
|
||||
void main(void){\n\
|
||||
vPosition = aVertexPosition;\n\
|
||||
vTextureCoord = aTextureCoord;\n\
|
||||
gl_Position = vec4(vPosition,1.0);\n\
|
||||
}";
|
||||
Reference in New Issue
Block a user