Skip to content

Fix SSAO on WebGL

Michael Migliore requested to merge michael.migliore/vtk:fix-ssao-webgl into master

Default values (0 and 1) are printed as integers in the shader which result in a compilation failure on WebGL because of type mismatch.
Adding std::scientific to make sure they are printed as floating point values.

Edited by Michael Migliore

Merge request reports

Loading