Get the latest tech news

Three.js Shading Language


JavaScript 3D Library. Contribute to mrdoob/three.js development by creating an account on GitHub.

The shader graph solution adopted today by the industry has allowed developers more focused on dynamics to create the necessary graphic effects to meet the demands of their projects. Other benefits that TSL brings besides simplifying shading creation is keeping the renderer agnostic, while all the complexity of a material can be imported into different modules and use tree shaking without breaking during the process. In the shader construction process, the Node will have important information such as geometry, material, renderer as well as the backend, which can influence the type and value of output.

Get the Android app

Or read this on Hacker News