question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'textureCubeLodEXT' : no matching overloaded function found

See original GitHub issue

I’m working on a PBR Material, extensions.shaderTextureLOD=true works fine on r117, but r118 and later fragment shader fails compilation.

ERROR: 0:253: 'textureCubeLodEXT' : no matching overloaded function found
ERROR: 0:253: '=' : dimension mismatch
ERROR: 0:253: '=' : cannot convert from 'const mediump float' to 'mediump 4-component vector of float'

253:         vec4 rgba = textureCubeLodEXT(texture, dir, lod);

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
mrdoobcommented, Jul 20, 2020

Not sure why this check is there since the version directive has to be the first statement of the shader code. When using ShaderMaterial, this never can be true since the renderer always prepends prefix code.

Yes, that’s what I though. Thanks for double checking! I think I’m going to remove that code for now…

1reaction
Renhj90520commented, Jul 20, 2020

Yes, I’m using the RawShaderMaterial. I think it’s time to move forward to update my knowledge. Thank you very much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'texture' : no matching overloaded function found even though ...
texture() was added in #version 300 es. #version 100 es (the default if no #version is specified) is limited to texture2D() ...
Read more >
WebGL 1 GLSL ES function textureCubeLod() is not ...
Observed: The page prints "*** Error compiling FRAGMENT_SHADER '[object WebGLShader]':ERROR: 0:9: 'textureCubeLod' : no matching overloaded function found ...
Read more >
'texture' no matching overloaded function found (using implicit ...
I have tried everything possible to fix this, and it just won't go. My fragment shader code was working perfectly and then all...
Read more >
NodeMaterial Error on Safari, IOS devices - Babylon.js Forum
'textureCubeLodEXT':no matching overloaded function found. However, I find it is said the extension is supported on Safari.
Read more >
Webgl - No Matching Overloaded Function Found - ADocLib
shaderTextureLODtrue works fine on r117 but r118 and later fragment shader fails compilation. ERROR: 0:253: 'textureCubeLodEXT' : no matching.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found