neshke89 Posted April 1, 2015 Share Posted April 1, 2015 Is it possible to load bigger texture (then mesh) and then to clip it by mesh dimensions? Behaviour I'm trying to achieve is that I have a moving mesh and when i move mesh only on part of the texture actually is used as mesh texture.Why am I doing this:I need that more than four spot lighs have efect on different parts of one mesh. So idea is to create a smaller copy of big mesh which has slightly lower z position, so that all lights are not actually affecting mesh but smaller meshes instead. It works if there's no texture or texture is linear but with complex textures it easily seen that there are "help" meshes.You can see difference here:http://prntscr.com/6odo9ehttp://prntscr.com/6odovh Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 2, 2015 Share Posted April 2, 2015 Hum i,m sorry but I do not understand your question Quote Link to comment Share on other sites More sharing options...
neshke89 Posted April 2, 2015 Author Share Posted April 2, 2015 I'll post an working example as soon as i can. 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.