Search Unity

Render Material + Shader as Texture2d

Discussion in 'Scripting' started by ImpactBlue, May 20, 2014.

  1. ImpactBlue

    ImpactBlue

    Joined:
    Jun 19, 2013
    Posts:
    15
    I apologize before hand if my question makes absolutely no sense!

    Ive currently written a custom shader which takes in a material and 3 alpha masks and performs Hue shifts using these masks. Works well but I dont want to have be doing this every single draw call!

    Is there a way to utilize the shader to render a texture that I can then save to disk or to memory?