1 #version 110 2 3 vec4 ftransform(); 4 5 /* 6 * 8.7 - Texture Lookup Functions 7 * "The built-ins suffixed with "Lod" are only allowed in a vertex shader." 8 */ 9 vec4 texture1DLod (sampler1D sampler, float coord, float lod); 10 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); 11 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); 12 13 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod); 14 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); 15 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); 16 17 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod); 18 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod); 19 20 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod); 21 22 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod); 23 vec4 shadow2DLod (sampler2DShadow sampler, vec3 coord, float lod); 24 vec4 shadow1DProjLod(sampler1DShadow sampler, vec4 coord, float lod); 25 vec4 shadow2DProjLod(sampler2DShadow sampler, vec4 coord, float lod); 26