ray-tracing-renderer icon indicating copy to clipboard operation
ray-tracing-renderer copied to clipboard

Broken demo

Open ronzim opened this issue 2 years ago • 4 comments

Shader error:

Uncaught ERROR: 0:87: 'isampler2D' : No precision specified WARNING: 0:1183: '1.0e999' : Float overflow

ronzim avatar Jan 17 '22 17:01 ronzim

You should get this project working again so it can be compared against this fork: https://lgltracer.com

bhouston avatar Jan 25 '22 03:01 bhouston

Hi, @ronzim ! You can fix this error by editing this line in makeShaderStage function

let str = "#version 300 es\nprecision mediump float;\nprecision mediump int;\nprecision lowp isampler2D;\n";

in RenderPass.js file

vinkovsky avatar Mar 22 '22 08:03 vinkovsky

Thank you @vinkovsky! I'll try asap

ronzim avatar Mar 22 '22 08:03 ronzim

You're welcome. I faced with another issues. I have WebGL: ERROR: 0:10: 'out_matProps' : output location must be < MAX_DRAW_BUFFERS error in safari

vinkovsky avatar Mar 22 '22 08:03 vinkovsky