Hi,
What is the equivelant of GLSL textureLod to Metal? I am translating a shader and stuck on this line:
return textureLod(sampler, uv, 0.0 );
Thanks
Hi,
What is the equivelant of GLSL textureLod to Metal? I am translating a shader and stuck on this line:
return textureLod(sampler, uv, 0.0 );
Thanks
I think it's texture.sample(sampler, uv, level(0.0))