Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sintium/Modules/Layer/Constants/AnimatedFadeShaderText"

Index

Variables

Const fragmentShaderText

fragmentShaderText: "precision highp float;uniform sampler2D texture;uniform float opacity;varying vec2 pos;void main(void) {vec4 color = texture2D(texture, pos) * opacity;gl_FragColor = color;}" = `precision highp float;uniform sampler2D texture;uniform float opacity;varying vec2 pos;void main(void) {vec4 color = texture2D(texture, pos) * opacity;gl_FragColor = color;}`

Const vertexShaderText

vertexShaderText: "precision highp float;attribute vec2 readPos;attribute vec2 writePos;varying vec2 pos;void main(void) {pos = readPos;gl_Position = vec4(writePos,0.0, 1.0);}" = `precision highp float;attribute vec2 readPos;attribute vec2 writePos;varying vec2 pos;void main(void) {pos = readPos;gl_Position = vec4(writePos,0.0, 1.0);}`

Generated using TypeDoc