Aquarium normal maps load in a different way depending on browser (artifacts on MS Edge)

Offen
#24 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript

Rechercherichtung

Start by reproducing the aquarium sample in MS Edge and another browser, then trace how the normal map PNG files are loaded and decoded. Compare the resulting normal-map rendering and investigate the reported UNPACK_COLORSPACE_CONVERSION_WEBGL limitation or JavaScript decoding alternative; done means the artifacts are gone in Edge without regressing other browsers.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

It seems as if color space handling of loaded images differs between MS Edge and other browsers. This causes normal maps to be distorted on MS Edge. The fix for this according to the spec would be setting UNPACK_COLORSPACE_CONVERSION_WEBGL to NONE, but unfortunately MS Edge doesn't implement that at the moment. Another possible fix would be to decode the normal map PNG files in JS.

Vorherrschende Sprache
Wolfram Language
Sterne
982
Forks
292
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
1

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus WebGLSamples/WebGLSamples.github.io

Alle Issues in WebGLSamples/WebGLSamples.github.io

Ähnliche Issues

Weitere Issues zu Computer Graphics

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.