CesiumGS / CesiumGS/cesium

Optimize setting uniforms

Open
#649 8 comments 0 reactions 0 assignees View on GitHub
category - graphics type - enhancement
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Setting uniforms can take up to 15% of our time in the profiler, which is pretty standard in a 3D engine. We can do better, by both optimizing setting them and using less of them (yes, that means packing things together).

CC #646

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points; begin by profiling the uniform-setting path and reviewing the related discussion in issue #646. Done means reducing the time spent setting uniforms and reducing uniform usage through packing, with profiling results showing an improvement.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, performance, web-dev
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.