Re: Multi-Texturing with a single texture using different S, T texCoords.
Posted by
gouessej on
May 23, 2019; 9:41am
URL: https://forum.jogamp.org/Multi-Texturing-with-a-single-texture-using-different-S-T-texCoords-tp4039801p4039802.html
Hello
When you want to use only grass, you can update the texture coordinates so that you only use the grass section of the texture. What is wrong with that?
You just have to ensure that each triangle is exclusively considered as rocky, snow or grass, a given triangle in your triangle strip mustn't use the texture coordinates of multiple sections at the same time, it makes no sense to randomly mix the texture coordinates of the grass section with those of the snow section.