CesiumGS / CesiumGS/cesium

Firefox doesn't support a `Framebuffer` with `colorTextures` of different `pixelDatatype`

Open
#6,076 0 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

See https://github.com/AnalyticalGraphicsInc/cesium/pull/6069#discussion_r158379454.

This is a post-processing step that would ideally use a `float` texture as a depth gbuffer and a `UNSIGNED_BYTE` texture as a color gbuffer, which seems to work fine in Chrome but not in Firefox.

In context:
https://github.com/likangning93/cesium/blob/aad2105966e756bc86ffff052531cd84af3415e1/Source/Scene/PointCloudEyeDomeLighting.js#L140

Contributor guide

Open the contributing guide

Research direction

Start with the linked discussion in PR 6069 and inspect PointCloudEyeDomeLighting.js around line 140 in the referenced revision. Reproduce the post-processing framebuffer behavior in Firefox and Chrome, then verify that using float and UNSIGNED_BYTE color textures together works consistently without regressing the described depth and color g-buffers.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.