newbie about volumetric rendering support

hi,

i’ve used unity couple of month ago, was busy with modeling stuff. now back to unity :slight_smile:

I have a question if unity allow me to write a custom volumetric rendering shader ? I remember unity let me do shader writing ? is that right ?

Fang

Hi,

You can indeed write your own shaders in Unity. To get started you might want check out this page: Unity - Manual: Shaders
Or maybe if you are new to shaders you can watch the video you can find here: http://unity3d.com/support/resources/unite-presentations/shader-programming-course

Writing a volumetric rendering shader should also be possible, but you might want to look into how you do this in real-time graphics.

Yes you can write your own shaders in Cg. However, the Unity API does not appear to support 3D textures or 3D uv mappings at all. It may still be possible to do volumetric shading somehow, but I would imagine it to be a major pain.