Pen-Group / penPlus-shader-editor

A blockly based shader editor
https://pen-group.github.io/penPlus-shader-editor/Source/
6 stars 1 forks source link

GLSL Compilation Errors at incorrect lines #14

Open OxygenL602 opened 2 weeks ago

OxygenL602 commented 2 weeks ago

Console very often reports errors on blank lines (screenshot as follows) image

OxygenL602 commented 2 weeks ago

and also, This is a fresh compilation and I did not alter the code

AlexSchoolOH commented 2 weeks ago

I know what is happening. I don't really know how to fix it. It happens because WEBGL's compiler takes lines that are blank or commented out and skips them completely. If I can figure out a fix I will.