Browse Source

Update notes about culling models;

bjorn 7 months ago
parent
commit
c970abdeb9
2 changed files with 2 additions and 3 deletions
  1. 0 0
      api/init.lua
  2. 2 3
      api/lovr/graphics/Pass/setViewCull.lua

File diff suppressed because it is too large
+ 0 - 0
api/init.lua


+ 2 - 3
api/lovr/graphics/Pass/setViewCull.lua

@@ -60,9 +60,8 @@ return {
     - `Pass:mesh`
     - `Pass:mesh`
 
 
     `Model` objects only compute their bounding box when they're loaded, using the initial node
     `Model` objects only compute their bounding box when they're loaded, using the initial node
-    transforms. If a node's transform changes, either manually with `Model:setNodeTransform` or from
-    an animation, then the bounding box will become out of sync and culling will not work properly.
-    View culling should be disabled when rendering these models.
+    transforms.  If a model is animated, then the bounding box will become out of sync and culling
+    will not work properly.  View culling should be disabled when rendering animated models.
 
 
     `Mesh` objects will not have a bounding box by default.  Meshes with a storage type of `cpu` can
     `Mesh` objects will not have a bounding box by default.  Meshes with a storage type of `cpu` can
     compute their bounding boxes using `Mesh:computeBoundingBox`, which should be called after
     compute their bounding boxes using `Mesh:computeBoundingBox`, which should be called after

Some files were not shown because too many files changed in this diff