WEBGL2 Floating point texture are clamped to [0, 1] |
|||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36 Steps to reproduce the problem: 1. open https://colab.corp.google.com/v2/notebook#fileId=0B_hM3HWqccCddElvRTFnQUdVdEE using the 2. run the cell 3. the tile is colourful on mac but almost black on desktop What is the expected behavior? colorful on desktop too What went wrong? I believe the float texture were clamped to [0,1] on desktop Did this work before? N/A Does this work in other browsers? N/A Chrome version: 54.0.2840.59 Channel: stable OS Version: Goobuntu 2.4.44 Flash Version: Shockwave Flash 23.0 r0
,
Oct 18 2016
We are unable to open the provided URL:(https://colab.corp.google.com/v2/notebook#fileId=0B_hM3HWqccCddElvRTFnQUdVdEE ).It is displaying Error Code 4. So could you please give the access, This will help us to triage the issue further. Thank you!
,
Oct 18 2016
Sorry, the link can only be open from within Google only, I should have made this clearer in the bug description. I filed it for book keeping purpose for the benefit of the Google webgl2 people.
,
Oct 18 2016
,
Oct 18 2016
It looks to me you are creating a texture using (internalformat=RGBA, format=RGBA, type=FLOAT). This is illegal in WebGL2. Unfortunately there is a bug in Chrome's current implementation that we accidentally pass it down to the driver instead of generating a GL error. See crbug.com/656889 . Please use (internalformat=RGBA32F, format=RGBA, type=FLOAT) and see if it fixes the problem for you. (I haven't figured out how to find where the source code is and how to edit it in your labcode)
,
Oct 19 2016
Yes, that was it, thanks!
,
Oct 19 2016
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by zmo@chromium.org
, Oct 17 2016