Jump to content

GetCulled() doesn't appear to be working


Recommended Posts

Entity:GetCulled() appears to always return false.

 

Lua example code:

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitygetculled-r768

 

On a related note, SetOcclusionCullingMode() in the documents is listed as SetOcclusionMode. Also, in the script editor, SetOcclusionMode is highlighted but causes an error, whereas SetOcclusionCullingMode() is not highlighted and appears to work.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

  • 2 weeks later...

Technically, it's working. There's a directional light in the scene, therefore the object is rendered each frame at least once (for the shadow rendering).

 

I'm adding a new parameter to specify a camera and will update the docs.

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

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...