Post not yet marked as solved
Post marked as unsolved with 6 replies, 1,482 views
In my scene I have 2 with the following textures.
1) Water Well base color texture
- normal map texture
2) Basic Quad no textures
when calling draw primitives with the Water Well I am binding to index 0 and 1 the 'base color texture', and the 'normal map texture'.
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