WebGPU/WebGL shader differences

This led me to press some buttons in the NME and I found this which seems to correct the problem, not sure why though yet :smiley: :
gammathingy

1 Like

That should not be the case though:)
Can you repro the same in nme?

Not yet :frowning: It is a bit hard to debug

trying on my side too :slight_smile:

Maybe you can update the PG so we have the light setup (not moving) and the character centered?

Edit: no it is a nightmare to debug :smiley: Iโ€™ll wait for a simpler PG / scene :slight_smile:

1 Like

ok here a simpler version:
FloatingIslandsTestBencha | Babylon.js Playground (babylonjs.com)

cc @Evgeni_Popov as this is an issue with Tint version

A better repro: FloatingIslandsTestBencha | Babylon.js Playground (babylonjs.com)

The problem is also visible in pure WebGPU: FloatingIslandsTestBencha | Babylon.js Playground (babylonjs.com)

I keep digging!

Ok here we are:
FloatingIslandsTestBencha | Babylon.js Playground (babylonjs.com)

The core issue was that WebGL2 was disabling sRGB buffers.

PR to fix it:
Fix color space nme by deltakosh ยท Pull Request #15571 ยท BabylonJS/Babylon.js (github.com)

2 Likes

Wow thank you! :star_struck: Sorry that I was too slow in simplifying the scene hehe :laughing:

1 Like