Shader for particles with writing to z-buffer. The standard particle shader in Fade or Transparent mode does not set the depth buffer. If this does not suit you, and you need depth for semitransparent ...
Texture baking is very common technique in computer graphics to transfer the details of your shader into a texture. This is useful if you're shader is computationally heavy, but produces a static ...