playcanvas
Version:
PlayCanvas WebGL game engine
6 lines (4 loc) • 370 B
JavaScript
// vertex shader internally used to apply morph targets in textures into a final texture containing
// blended morph targets
var morphVS = "\n attribute vec2 vertex_position;\n varying vec2 uv0;\n void main(void) {\n gl_Position = vec4(vertex_position, 0.5, 1.0);\n uv0 = vertex_position.xy * 0.5 + 0.5;\n }\n";
export { morphVS as default };