Hi I get this error during shader compilation when I think I shouldn’t. This is from the info dat connected to the glsl material.
Pixel Shader Compile Results:
0(83) : error C1101: ambiguous overloaded function reference “textureCube(samplerCube, vec3)”
(0) : fpf gpf vpf tpf hpf gp4 fp50 vp50 cp50 gp50 uvec4 textureCube(usamplerCube, vec3)
(0) : fpf gpf vpf tpf hpf gp4 fp50 vp50 cp50 gp50 ivec4 textureCube(isamplerCube, vec3)
(0) : vec4 textureCube(samplerCube, vec3)
Attached file. Note, I’m not doing anything sensical with the result - I’m just trying to access a samplerCube with the textureCube() glsl function.
also, the line number in the error reported in the info dat seems to be off by 1 from the actual line in the file.
build 11440
glsl_textureCube.toe (5.13 KB)