Search Unity

Render to 3D Texture

Discussion in 'Shaders' started by Chimera3D, Sep 1, 2014.

  1. Chimera3D

    Chimera3D

    Joined:
    Jan 27, 2012
    Posts:
    73
    How can I go about rendering into a 3D render texture with a fragment shader? Is there way to get the fragment shader to render for all layers of the 3D texture or would I just have to simulate a 3D texture by making a really wide 2D texture? Also, I can't use compute shaders/DirectX11 features as I need this to run on Mac.