瀏覽代碼

Update notes about culling models;

bjorn 10 月之前
父節點
當前提交
c970abdeb9
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 0 0
      api/init.lua
  2. 2 3
      api/lovr/graphics/Pass/setViewCull.lua

文件差異過大導致無法顯示
+ 0 - 0
api/init.lua


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

@@ -60,9 +60,8 @@ return {
     - `Pass:mesh`
 
     `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
     compute their bounding boxes using `Mesh:computeBoundingBox`, which should be called after

部分文件因文件數量過多而無法顯示