thrice Posted September 4, 2017 Share Posted September 4, 2017 Quick question: Does freezeWorldMatrix need to be called on children meshes to gain full performance benefit, or is freezing a parent mesh enough (I see that the children have different values for isWorldMatrixFrozen, so guessing I need to freeze each child individually, but figured I'd make sure before making a bunch of changes that didn't need to be made) Also: Is there a way to measure how many meshes world matrices are being evaluated in the scene, i.e. something like engine.drawCalls for matrices calculations count? Quote Link to comment Share on other sites More sharing options...
thrice Posted September 5, 2017 Author Share Posted September 5, 2017 Appears to be affecting FPS quite a bit, much smoother after freezing children so assuming children need to be frozen individually Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 5, 2017 Share Posted September 5, 2017 This is correct. The freezeWorldMatrix needs to be called on each individual meshes. Quote Link to comment Share on other sites More sharing options...
thrice Posted September 9, 2017 Author Share Posted September 9, 2017 Word, good to know, thanks 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.