In my scene I have 2 with the following textures.
1) Water Well
when calling draw primitives with the Basic Quad I am not binding any textures. In fact I specifically called these 2 functions before rendering the quad (setting nil as the texture).
renderCommandEncoder.setFragmentTexture(nil, 0) renderCommandEncoder.setFragmentTexture(nil, 1)
The Problem:
Even though there is no texture bound to index 0 or 1 when drawing the Basic Quad, It is still using both of the textures from the Water Well. I cannot seem to clear the textures from the texture buffers. This seems like a bug with apple, but I need to be sure.
Thank you
1) Water Well
base color texture
normal map texture
no textures
when calling draw primitives with the Basic Quad I am not binding any textures. In fact I specifically called these 2 functions before rendering the quad (setting nil as the texture).
renderCommandEncoder.setFragmentTexture(nil, 0) renderCommandEncoder.setFragmentTexture(nil, 1)
The Problem:
Even though there is no texture bound to index 0 or 1 when drawing the Basic Quad, It is still using both of the textures from the Water Well. I cannot seem to clear the textures from the texture buffers. This seems like a bug with apple, but I need to be sure.
Thank you