Search the Community
Showing results for tags 'beforeRender'.
Hello guys , As i unity developer i just want to ask a quick question Which method in mesh class Match update function in unity .. What it means i want each mesh to have it's own update method rather use scene.registerBeforeRender() Which controls every update/render happens in the scene I've used those func's mesh.onBeforeDrawObservable() mesh.onAfterRenderObservable() But Explicitly i don't know if it's best choice or not and i have little problem with it .. Also those methods can't be executed behind camera view (the mesh must be in the view of camera to allow those type of functions to be executed) so guys what do u think ? Thanks in advance
Hi there ! I have a small question, I am looking for the best way to make a mesh match the camera clipping plane. The only issue I am getting is that the camera is always zooming/unzooming because the mesh never perfectly fits the clipping plane... I made a simple Playground scene to show the issue : http://www.babylonjs-playground.com/#AZZNI You can increase the zoomingSteps value if you can't see the issue. Thanks in advance for your help, I will keep you informed if I find a solution.