mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Fixed rendering, moved examples/editor option under Debug. Updated spark-viewpoint.md.
This commit is contained in:
committed by
Andreas Sundquist
parent
d707f283f5
commit
b39cf3873f
@@ -24,6 +24,7 @@ const viewpoint = spark.newViewpoint({
|
||||
depthBias?: number;
|
||||
sort360?: boolean;
|
||||
sort32?: boolean;
|
||||
stochastic?: boolean;
|
||||
});
|
||||
```
|
||||
|
||||
@@ -46,6 +47,7 @@ const viewpoint = spark.newViewpoint({
|
||||
| **depthBias** | Constant added to Z-depth to bias values into the positive range for `sortRadial: false`, but also used for culling splats "well behind" the viewpoint origin (default: `1.0`)
|
||||
| **sort360** | Set this to true if rendering a 360 to disable "behind the viewpoint" culling during sorting. This is set automatically when rendering 360 envMaps using the `SparkRenderer.renderEnvMap()` utility function. (default: `false`)
|
||||
| **sort32** | Set this to true to sort with float32 precision with two-pass sort. (default: `false`)
|
||||
| **stochastic** | Set this to true to enable sort-free stochastic splat rendering. (default: `false`)
|
||||
|
||||
## `dispose()`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user