1 #version 110 2 /* 3 * 8.7 - Texture Lookup Functions 4 * "The bias parameter is not accepted in a vertex shader." 5 */ 6 vec4 texture1D (sampler1D sampler, float coord, float bias); 7 vec4 texture1DProj (sampler1D sampler, vec2 coord, float bias); 8 vec4 texture1DProj (sampler1D sampler, vec4 coord, float bias); 9 10 vec4 texture2D (sampler2D sampler, vec2 coord, float bias); 11 vec4 texture2DProj (sampler2D sampler, vec3 coord, float bias); 12 vec4 texture2DProj (sampler2D sampler, vec4 coord, float bias); 13 14 vec4 texture3D (sampler3D sampler, vec3 coord, float bias); 15 vec4 texture3DProj (sampler3D sampler, vec4 coord, float bias); 16 17 vec4 textureCube (samplerCube sampler, vec3 coord, float bias); 18 19 vec4 shadow1D (sampler1DShadow sampler, vec3 coord, float bias); 20 vec4 shadow2D (sampler2DShadow sampler, vec3 coord, float bias); 21 vec4 shadow1DProj (sampler1DShadow sampler, vec4 coord, float bias); 22 vec4 shadow2DProj (sampler2DShadow sampler, vec4 coord, float bias); 23 24 /* 25 * 8.8 - Fragment Processing Functions 26 */ 27 float dFdx(float p); 28 vec2 dFdx(vec2 p); 29 vec3 dFdx(vec3 p); 30 vec4 dFdx(vec4 p); 31 32 float dFdy(float p); 33 vec2 dFdy(vec2 p); 34 vec3 dFdy(vec3 p); 35 vec4 dFdy(vec4 p); 36 37 float fwidth(float p); 38 vec2 fwidth(vec2 p); 39 vec3 fwidth(vec3 p); 40 vec4 fwidth(vec4 p); 41