smashthewindow Posted April 4, 2013 Share Posted April 4, 2013 I'm not sure if I'm allowed to post LE2 questions here, but since I can't find anywhere else to post it I'm just posting it here. I'm trying to figure out a way I can know when a mesh or entity is being drawn on screen. (Visible to camera). Does anyone know how I might be able to do that? Quote Blog & Portfolio Current project: moon.chase.star Link to comment Share on other sites More sharing options...
Josh Posted April 4, 2013 Share Posted April 4, 2013 EntityCulled() might be what you need: http://www.leadwerks.com/werkspace/page/Documentation/le2/_/command-reference/entities/entityculled-r147 1 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...
Daimour Posted April 4, 2013 Share Posted April 4, 2013 But note, if you didn't set "occlusion culling" mode for entity, the "frustrum culling" only will be checked with EntityCulled(). Quote Link to comment Share on other sites More sharing options...
smashthewindow Posted April 4, 2013 Author Share Posted April 4, 2013 Perfect, thanks all for the fast replies. Quote Blog & Portfolio Current project: moon.chase.star Link to comment Share on other sites More sharing options...
Josh Posted April 4, 2013 Share Posted April 4, 2013 Occlusion culling is enabled for animated models and lights. I don't recommend using it on anything else because it can be slow. 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...
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.