Skip to content

Web Guide III : Shaders

Dani John edited this page Feb 19, 2020 · 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, example: The Drive Home

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

Offline Shaders

Check out included rain shader with interaction example: https://github.com/rocksdanister/shadertoy-heartfelt

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.