/shader-knowledge

Documenting obscure technical shader knowledge (mostly VRChat specific)

Primary LanguageHLSLMIT LicenseMIT

Shader knowledge

Trying to document obscure technical VRChat knowledge, mostly related to shader development. If I'm wrong about something feel free to correct me with an issue, PR, or message on discord @pema99. Same goes if you have any topics to add information about.

Table of contents

  • Camera loops - Using cameras for stateful shaders.
  • Shader data to udon - Reading data from shaders into Udon.
  • GPU instancing - Abuse for tracking positions of objects in a shader.
  • Geometry shaders - Some information about everyones favorite oddball type of shader.
  • Raymarching - Tips for raymarched shaders, not very useful if you don't understand raymarching.
  • Depth texture - Information about depth based effects.
  • Multiple Render Targets - Rendering to multiple render targets from a single shader pass, including stateful loops.
  • Tips and tricks - Various smaller nuggets of knowledge.
  • Resources - Various external resources containing knowledge of varying degrees of obscurity.