Rick Posted March 22, 2013 Share Posted March 22, 2013 Does anyone know if LE3 still uses model instancing? Also, if it does, which I think is good, is there yet a way to switch materials on a given instance and not have it switch all other instances? For mobile games I think this will be a big boost for us. Is there maybe some shader for LE3 that allows us to make a big texture and use certain parts of it per model? Quote Link to comment Share on other sites More sharing options...
shadmar Posted March 22, 2013 Share Posted March 22, 2013 Prefabs are instanced I believe. 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Rick Posted March 22, 2013 Author Share Posted March 22, 2013 A nice shader might be to allow for offsets in a texture so we can have multiple textures and switch between them on instanced model. If only someone knew shader programming... If it's possible for Leadwerks 3, I'd be willing to pay a little for it. I think I'm going to need it for this smaller little fun mobile game I'm going to make this next week. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 22, 2013 Share Posted March 22, 2013 Pass Asset::Unmanaged in the Load function to load a unique copy: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/asset/ Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted March 22, 2013 Author Share Posted March 22, 2013 So I see Asset::CreateNew and Asset::Unmanaged. What's the difference? My guess is Asset::CreateNew will actually create a new model and material and everything, where Asset::Unmanaged will create an instance of the model, but it's own material? If so that would be perfect! Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 22, 2013 Share Posted March 22, 2013 Is there maybe some shader for LE3 that allows us to make a big texture and use certain parts of it per model? I had same idae the other day, but didn't posted it. I will post that in suggestions thread. Quote Stop toying and make games 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.