Open mattdesl opened 9 years ago
Changes at a glance: http://www.shaderific.com/blog/2014/3/13/tutorial-how-to-update-a-shader-for-opengl-es-30
#version 300 es
texture2D
texture
attribute
in
gl_FragCoord
out
varying
gl_VertexID
gl_InstanceID
textureSize
inversesqrt
transpose
inverse
textureProj
sampler2DArray
Reference: https://www.khronos.org/registry/gles/specs/3.0/GLSL_ES_Specification_3.00.3.pdf
Changes at a glance: http://www.shaderific.com/blog/2014/3/13/tutorial-how-to-update-a-shader-for-opengl-es-30
#version 300 es
appears at toptexture2D
->texture
attribute
->in
gl_FragCoord
- customout
varying
->in
/out
gl_VertexID
,gl_InstanceID
, 'gl_MaxVertexAttribs', 'gl_MaxVertexUniformVectors', 'gl_MaxVertexOutputVectors', 'gl_MaxFragmentInputVectors', 'gl_MaxVertexTextureImageUnits', 'gl_MaxCombinedTextureImageUnits', 'gl_MaxTextureImageUnits', 'gl_MaxFragmentUniformVectors', 'gl_MaxDrawBuffers', 'gl_MinProgramTexelOffset', 'gl_MaxProgramTexelOffset',textureSize
,inversesqrt
,transpose
,inverse
,textureProj
sampler2DArray
Reference: https://www.khronos.org/registry/gles/specs/3.0/GLSL_ES_Specification_3.00.3.pdf