actarian / vscode-glsl-canvas

Live WebGL preview of GLSL shaders
MIT License
335 stars 25 forks source link

Activate GUI for changing custom uniforms at runtime #59

Open AK82 opened 3 years ago

AK82 commented 3 years ago

After pressing the option button I can see any only the performance window in the upper left corner. No Open Controls button like the one in your example. Can you please provide more explanations on how to activate GUI ? Thanks.

chilus commented 3 years ago

I'm having a similar issue. In a previous version of VSCode, or this plugin, I was able to see the Uniforms control GUI...

dom1817 commented 3 years ago

Same issue here, was trying to figure out how to use DAT.gui with glsl-canvas but it doesn't seem to be working anymore.

monster916 commented 3 years ago

Same issue here

actarian commented 3 years ago

@AK82, @Chilus, @dom1817, @monster916 issue has been resolved in latest version 0.2.14. Thank you for your submissions, and sorry for late reply.

dom1817 commented 3 years ago

Thanks for the update and for the great VS code extension! I believe that it would be very useful to specify in the readme file that the DAT.gui controls will be only available to uniforms that are declared in settings.json. I was expecting it to parse uniform declaration at the top of the shader file.