MasterK Posted August 28, 2017 Share Posted August 28, 2017 http://www.babylonjs-playground.com/#EJAIQ3#1 ground mesh's zOffset seems good. but line's zOffset doesn't work. I want to add line box to model. and line always display. like this: But at some view point, the line will dissapear, like this: And the zOffset can't fix this. Help me. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 28, 2017 Share Posted August 28, 2017 why not using the renderingGroupId in this case? Seems the good candidate here Quote Link to comment Share on other sites More sharing options...
MasterK Posted August 29, 2017 Author Share Posted August 29, 2017 6 hours ago, Deltakosh said: why not using the renderingGroupId in this case? Seems the good candidate here you changed head icon. Yeah, i use it now. And i tried modify shader's position.z. it's ok too. That won't display part of covered. webgl's zOffset dont effect line. need to set other polygon z > 0 to display line front. 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.