LoveShaderConverter
LoveShaderConverter copied to clipboard
Please update your documentation to new versions of Löve
Hello!
I am opening this issue because I think my struggle with my first use of the plugin could help you update the doc and make new users use your very nice converter a lot more easily!
Your demo example (and the associated documentation) are made for Löve 0.9.2, and the new version of Löve is 11.4! Therefore, several things need to be changed accordingly:
- change the version number in "conf.lua" to avoid warnings every run;
- still in the "conf.lua", t.window.fullscreen() cannot be normal, but needs to be set as desktop or exclusive instead;
- in the main.lua, love.graphics.getWidth must be changed as love.graphics.getWidth();
- still in this file, love.graphics.setCanvas(canvas) must be set after love.graphics.draw(canvas) (else you'll get an error like "the canvot cannot refer to itself");
- if you use an up-to-date ShaderToy, the function texture() in your shader must be changed to Texel() with a caps T. Else, you cannot load and modify images in shaders.
Please consider these to update your documentation, I think it helps lots of other people!
Seeya!