CesiumGS / CesiumGS/cesium

Voxel depth testing doesn't work with multi-frustum rendering

Open
#11,014 0 comments 0 reactions 0 assignees View on GitHub
category - voxels type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Voxels are always rendered in the first frustum and only have access to the depth texture in that frustum, which means that depth testing doesn't work most of the time when doing multi-frustum rendering, e.g. when `viewer.scene.logarithmicDepthBuffer = false;`.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing voxel rendering with viewer.scene.logarithmicDepthBuffer = false and observe depth testing during multi-frustum rendering. Trace how voxels are assigned to the first frustum and how that frustum's depth texture is accessed; done means voxel depth testing works across multi-frustum rendering rather than only in the first frustum.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.