Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shader "Baked Vertex Lighting/Baked Vertex Cutout No Culling 2"
- {
- Properties {
- _Color ("Main Color", Color) = (1,1,1,1)
- _SpecColor ("Spec Color", Color) = (1,1,1,1)
- _Emission ("Emmisive Color", Color) = (0,0,0,0)
- _Shininess ("Shininess", Range (0.01, 1)) = 0.7
- _MainTex ("Base (RGB)", 2D) = "white" {}
- _Cutoff ("Base Alpha cutoff", Range (.5,.9)) = .5
- }
- SubShader {
- Pass
- {
- AlphaTest GEqual [_Cutoff]
- Cull off
- Material {
- Shininess [_Shininess]
- Specular [_SpecColor]
- Emission [_Emission]
- }
- ColorMaterial AmbientAndDiffuse
- Lighting On
- SeperateSpecular On
- SetTexture [_MainTex] {
- Combine texture * primary, texture * primary
- // Combine texture , texture
- }
- SetTexture [_MainTex] {
- constantColor [_Color]
- Combine previous * constant DOUBLE, previous * constant
- }
- }
- // Pixel lights
- // UsePass "Bumped Specular/PPL"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment