some links for learning shaders [uts-000H]
some links for learning shaders [uts-000H]
1. readings
1. readings
- Ray tracing weekend series [shirley2024ray1][shirley2024ray2][shirley2024ray3] is a good starting point for learning ray tracing.
- The Book of Shaders [vivo2024book] is a good starting point for learning shaders.
- [glassner1989introduction] is a classic book on ray tracing, now free to download here.
- [pharr2023physically] is a complete, illustrative, and physically based ray-tracing renderer book, free to read on line.
- Autodesk Standard Surface contains references to many concepts and formulas for surface shaders.
2. libraries and tools
2. libraries and tools
- One could use GlslEditor (which provides widgets to adjust colors, 1-3D numeric values etc.), GlslCanvas or glslViewer to play with the shaders. They are crreated by the authors of The Book of Shaders.
- ShaderMania seems to be a good tool to play with shaders. Similarly there are Shadertoy, which has a VS Code extension and a basic ThreeJS port.
- stackgl provides many packages for using in GLSL. LYGIA is a similar effort, targeting a wider range of languages: GLSL/HLSL/MSL/WGSL/CUDA, it also has great integration with many tools, including ObservableJS.
- For GA, there are miniPGA.glsl, slerp optimization, Spinor 2d, and G2 Multivector-Valued Functions.
- MPR implements [keeter2020massively] on GPU, while Fidget implements it on CPU.
- Easy steps to implementing a Shadertoy in React Three Fiber
- Workflow from Shadertoy to React Three Fiber - R3F
- The Study of Shaders with React Three Fiber