CarverJ Posted September 15, 2018 Share Posted September 15, 2018 Hi, I don't know if it's possible but I'm trying to clipping meshes with differents camera minZ. Example I have 2 groups of meshes and I want clipping the first with minZ = 5 and the other for minZ = 1. Any clue for manage to do that ? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 17, 2018 Share Posted September 17, 2018 Hello! Did you look into user clip planes: http://doc.babylonjs.com/how_to/clip_planes Quote Link to comment Share on other sites More sharing options...
CarverJ Posted September 18, 2018 Author Share Posted September 18, 2018 Thank you for your response @Deltakosh. I don't want clip with planes but with camera.. Do you know why something like that doesn't work ? https://www.babylonjs-playground.com/#EHLHNX#2 Quote Link to comment Share on other sites More sharing options...
Arte Posted September 18, 2018 Share Posted September 18, 2018 Hi @CarverJ onAfterRenderObservable replaces/ overriding onBeforeRenderObservable Quote Link to comment Share on other sites More sharing options...
CarverJ Posted September 19, 2018 Author Share Posted September 19, 2018 Hello @Arte Yes you are right but why that don't work same here ? https://www.babylonjs-playground.com/#EHLHNX#3 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.