d13 Posted July 6, 2015 Share Posted July 6, 2015 I noticed that one of the options for a ParticalContainer is `uvs` Does anyone know what `uvs` is, and what would setting it to `true` do? Thanks!! Quote Link to comment Share on other sites More sharing options...
xerver Posted July 6, 2015 Share Posted July 6, 2015 The `uvs` are like normalized positons into the texture to be rendered. IF you are using different particles from a sprite sheet, the different particles will have different uvs so you will need to set it to true. clark 1 Quote Link to comment Share on other sites More sharing options...
d13 Posted July 6, 2015 Author Share Posted July 6, 2015 IF you are using different particles from a sprite sheet, the different particles will have different uvs so you will need to set it to true.Ok, so if I use a 3 particles from the same sprite sheet (say a bunny, a frog and a kangaroo), I would need to set `uvs` to true? Quote Link to comment Share on other sites More sharing options...
sbat Posted July 6, 2015 Share Posted July 6, 2015 Ok, so if I use a 3 particles from the same sprite sheet (say a bunny, a frog and a kangaroo), I would need to set `uvs` to true? If you want to change bunny into frog "on the fly" without creating new sprite, yes. For example, if you are creating fireworks with green, red and yellow rockets, and just using same 100 sprites for the entire course of animation as recommended (just changing their frames as they "expire"). If you need to just create a bunny, a frog and a kangaroo - no. All attributes will be loaded initially (and whenever list of children is updated). d13 1 Quote Link to comment Share on other sites More sharing options...
d13 Posted July 6, 2015 Author Share Posted July 6, 2015 Thanks guys, I understand it now 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.