Skip to content

Web Guide III : Shaders

Dani John edited this page Nov 8, 2019 · 13 revisions

Shaders

Shaders are code run on the gpu. Currently lively uses web browser to run glsl shaders, native hlsl shader support is planned for future release.

Shadertoy link

Lively supports shadertoy.com link loading.

In Type page select "Website" & enter the link, eg: [The Drive Home](https://www.shadertoy.com/view/MdfBRX)

Initial network connection is required to load the webpage, lively will launch the shadertoy page in fullscreen mode.

As library is meant for offline files, it is not allowed to create url type wallpaper in Library; Once loaded the page will run the next time you launch lively just like other wallpapers.

Offline Shaders

The included "Hexagone by BigWING" is a shadertoy shader converted to offline using glslCanvas library, check it out.

Other webgl implementation such as RainEffect - codrops also works just fine.

Fullscreen shaders can be taxing on the gpu depending on what its doing, if you have no dedicated gpu beware.