Shader compilation error when calling textureSize
on the normal roughness texture
#87202
Labels
Milestone
textureSize
on the normal roughness texture
#87202
Tested versions
System information
Godot v4.3.dev2 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics 620 (KBL GT2) () - Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (4 Threads)
Issue description
When creating a shader of type
spatial
, callingtextureSize
on the normal roughness texture will cause a shader error.An example might be:
The error output is quite long (>10000 lines) but, the initial text indicates:
Steps to reproduce
MeshInstance
with aShaderMaterial
textureSize
on the normal roughness textureMinimal reproduction project (MRP)
normal_roughness.zip
The text was updated successfully, but these errors were encountered: