CesiumGS / CesiumGS/cesium

Optimize picking

Open
#630 10 comments 1 reaction 0 assignees View on GitHub
category - picking type - enhancement
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

The fix for #583 slows down the fragment shader for picking because it executes the full fragment shader for materials. If we know a material doesn't have any transparent parts (and doesn't write depth in the future), we can just use a simple pass-through shader.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the picking path and fragment shader behavior changed by #583; the issue names no files or tests. Identify where material transparency and future depth-writing are known, then verify that opaque materials use the simpler picking path while transparent materials retain the existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.