MichaelHazani.com

Art/Code/XR

Code, everydays, gif, Shaders, Three.js, WebGL

GLSL Shader Implementation in Three.js

admin

 

Source

Super fun timez grabbing shaders from the wild (okay, GLSL Sandbox and Shadertoy) and converting them to three.js. The biggest leap is one of the mind – we’re no longer in quad fullscreen frag land, Toto! These babies are now functioning as materials!

The Shader language family is like Romanesque languages – a lot is really similar but there are some crucial differences here and there. Okay, maybe more similar, more like dialects of Arabic. A lot of the grammar diff (uniforms, etc.) is covered in this helpful SO post.

Shaders are the best and the worst. Can’t wait to dig deeper. Onwards and upwards!

[everydays 05/11/17]

Leave a Reply