You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GLSL does not have a generic sampler type ("sampler") and that's not usually a problem as HLSL2GLSL can usually figure out what a sampler's type needs to be from it's usage, but this doesn't work for sampler arrays. So if you're declaring a sampler array in HLSL, make sure to use the explicit sampler type: sampler1D, sampler2D, samplerCUBE etc.
The text was updated successfully, but these errors were encountered:
GLSL does not have a generic sampler type ("sampler") and that's not usually a problem as HLSL2GLSL can usually figure out what a sampler's type needs to be from it's usage, but this doesn't work for sampler arrays. So if you're declaring a sampler array in HLSL, make sure to use the explicit sampler type: sampler1D, sampler2D, samplerCUBE etc.
The text was updated successfully, but these errors were encountered: