Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Adding transparency to shadow

$
0
0
Hello,

My current project involve a toon shader that have transparency for my ragdolls to vanish. Unfortunatly the shadow it casts doesn't vanish as the body does. i reall know nothing about shaders, here are the toon shaders i found on internet.

Code (CSharp):
  1.    
  2.   Shader "Toon/Basic Alpha" { Properties { _Color ("Main Color", Color) = (.5,.5,.5,1) _MainTex ("Base (RGB)", 2D) = "white" {} _ToonShade ("ToonShader Cubemap(RGB)", CUBE) = "" { Texgen CubeNormal } }
  3.     SubShader {
  4.     Tags...
Adding transparency to shadow

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>