2 Sided - Diffuse + Bump + Specular Shader

Hi Guys,

I need a 2 Sided Shader for Tree Leaves which support Diffuse + Normal Map + Specular Color. Also when using directional light in shadow i can only see the Tree Trunk but no shadow of the alpha leaves?

Can any one please tell me how to get this shader in Unity. I am not a programmer, A Beginner 3D Artist in Unity. This is very urgent for one of my project.

Currently i am using Transparent/Cutout/Soft Edge Unlit, But this does not support Specular with Normal Map. (Help Help Help):face_with_spiral_eyes:

Thankyou.

Aditya.

Free Double Sided Shaders

Includes:

Double Sided Diffuse – Just double sided textured material
Double Sided Bumped – Adds a normal map channel to the above
Double Sided Bumped Specular – A double sided bumped material with Specular from the Alpha channel
Double Sided Specular – Double sided material with specular, no bumps.

Never tried them … but they are free.

cheers, gryff :slight_smile:

Thanks Gryff,

I just used those Materials, But the problem is They are not taking Alpha, I got the NM + Spec but NO Alpha…?? Can you help again…

Also i Noticed that the Object becomes semi Transparent, The Objects behind it are getting Visible. Strange… I am Stuck…

Thanks,
Ady…

Sorry aditya - I know next to nothing about shaders. I just happened to find them about a week ago… They were produced by a person who goes by the nic:

derkoi - on this Unity forum.

Maybe you could PM him and ask for some help.

cheers, gryff :slight_smile:

download the built-in shaders for the version of Unity you are working with: http://unity3d.com/unity/download/archive
extract the zip file
drag the default shader you wish to make two sided into your project
open that shader in Monodevelop
add “Cull off” under “SubShader {”
Change the name of the shader at line 1 of that shader
save and apply shader to material.

This works for a lot of them, but maybe not all of them.

Thanks a lot:):):):):):):slight_smile: