my-shader-templates-list
what is it - tools-templates like code free for use, mit or no license.
Most of listed here can be very useful in Shadertoy-development, most of my shaders started from this templates.
Contact: Join discord server
More links and shader related stuff - in my blog medium link or github mirror.
And remember about most useful - iquilezles articles and portal
| Screenshot | link | 
|---|---|
| Useful | — | 
![]()  | 
      TEMPLATE 3d intersection  Alternative - Simple CSG or from iq articles intersectors.  | 
    
![]()  | 
      TEMPLATE 3d sdf raymarch  Alternative - iq sdf template.  | 
    
![]()  | 
      TEMPLATE look_at lookAt look at - demo of how simple and useful lookAt. | 
![]()  | 
      TEMPLATE 3d pathtracer TAA </br> Example use of this pathtracer template: </br> <ul><li>Pathtraced voxel city</li> <li>Moving around scene with TAA</li> <li>Moving forward scene with TAA</li> <li>Spheres with pathtracing</li> <li>Spheres 2 with pathtracing</li> </ul> | 
![]()  | 
      TEMPLATE 3d pathtracer NO TAA - less complex to use in Shadertoy - but only feature is dynamic reprojection - and it explode complexity.  Alternative - much less complex minimal: <ul><li> Ray Tracing - Primitives by reinder </li><li> Simple CSG 2 - same as reinder but with CSG</li> </ul>  | 
    
![]()  | 
      TEMPLATE 3d pathtracer TAA SDF ! - SDF pathtracing template - it is very slow.</br> Example use of this pathtracer template: </br> <ul><li>Pathtrace euclidean distance vis</li> </ul> | 
![]()  | 
      TEMPLATE cubemap tools - extremely useful. Panorama/cubemap uv mapping from-to-from all directions. | 
![]()  | 
      TEMPLATE PRINT text uint float | 
![]()  | 
      TEMPLATE pack unpack bits - extremely useful. | 
![]()  | 
      TEMPLATE Reading bits segments expanded version of bits reading - extremely useful. | 
![]()  | 
      TEMPLATE double Vulkan FP64 bits | 
![]()  | 
      TEMPLATE tile rendering example - minimal example of tile rendering for Shadertoy, for heavy shaders. | 
![]()  | 
      TEMPLATE 64x64 tile render - more complex tile rendering. | 
| less often used | — | 
![]()  | 
      Debug heatmap script - not very very useful/helpful, but can be used to “see” what function called the most in shaders. | 
![]()  | 
      TEMPLATE TAA filter antialiasing - notice link to TAA-for geometry edges in shader description.  Example use of TAA for geometry for shadertoy shaders - [TAA] Orbital Megastructure  | 
    
![]()  | 
      TEMPLATE DEBUG - for debug/compare Shadertoy behavior outside of Shadertoy. | 
![]()  | 
      TEMPLATE color palette | 
![]()  | 
      disk/square mapping | 
![]()  | 
      Reprojection UV Screen-Quad UV | 
![]()  | 
      mini game engine | 
![]()  | 
      Transparent background for Shadertoy shader | 
| Noise note | — | 
![]()  | 
      distribut value noise, histogram | 
![]()  | 
      TEST noise hash repetition | 
| Const data note | — | 
![]()  | 
      Optimized ML/Neural shader - remember about const data size in shader. | 























