Thema Posted August 23, 2017 Share Posted August 23, 2017 Hello, I have a big texture and a little object. I would like to use only a part of the texture to render the mesh and eventually change the texture offset. I read the docs and did a lot of tests but all the times I apply a texture to a mesh the texture is resized to the mesh size. I cannot use the sprites because the portion of the texture that i want to use has different sizes. In is possible to apply a texture to a mesh keeping the original texture size? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 23, 2017 Share Posted August 23, 2017 Hello I'm not sure to understand but did you play with texture.uOffset, texture.vOffset and texture.uScale and texture.vScale ? Quote Link to comment Share on other sites More sharing options...
Thema Posted August 24, 2017 Author Share Posted August 24, 2017 Sorry my fault, I played a little more with offset and scale and i was able to do what I was looking for. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.