PDA

View Full Version : Shader leaves


Vedic-kings
09-30-2003, 07:37 PM
Hi,

I'm trying to make leaves on hardware shader. Putting leaves texture on a polygon plane is not the problem here. I dont want the whole square to show when i transfer it to the polygon plane I only want what I painted to show, and the rest to be transparent.

DeathBrain
09-30-2003, 07:44 PM
Hi Vedic,
You could use this technique (http://3dtreat.com/pages/tutorials/RaytraceShadowFix/solution.html) (from Daniele) to create a transparency shaders for your poly plane leaves :)

Vedic-kings
09-30-2003, 07:53 PM
Hey DeathBrain, thanks man. :thumbsup:

DeathBrain
09-30-2003, 08:41 PM
No problem Vedic :)
If you want the simple way, you could also use this way :
- Create a new File Texture, apply your Image with alpha channel as texture
- Create a new Surface Shader, connect your file texture to your surface shader with this network : Transparent_File1.outColor to Transparent_surfaceShader1.outTransparency,
then apply the surface shader to your poly plane :)

CGTalk Moderation
01-16-2006, 05:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.