Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Drawing to textures with shaders via Custom Render Textures

Resources for creating complex effects by rendering a texture with a shader.
Read time 1 minuteLast updated 19 days ago

Resources for creating complex effects by rendering a texture with a shader.

Page

Description

Create a Custom Render TextureAssign a compatible material to a Custom Render Texture, and chain Custom Render Textures to generate a simulation with multiple steps.
Introduction to Custom Render TexturesLearn about rendering a Render Texture via a shader, for example to create complex simulations like caustics, rain effects, and liquid splatters.
Write a shader for a Custom Render TextureUpdate a Custom Render Texture manually via a specialized Custom Render Texture shader.
Control when a Custom Render Texture updatesLearn about using Update Zones, scripts, and Double Buffered Custom Textures to control when Unity updates a Custom Render Texture.

Additional resources