mirror of
https://github.com/imperialsushi/gutterball-3.git
synced 2025-06-15 05:07:42 +00:00
New Version 1.6
New 125 balls & powerups. Improved graphics.
This commit is contained in:
parent
b35433ae45
commit
71779ef7ac
9413 changed files with 193360 additions and 264803 deletions
39
Gutterball 3/Assets/Shaders/LightsEmmissive.shader
Normal file
39
Gutterball 3/Assets/Shaders/LightsEmmissive.shader
Normal file
|
@ -0,0 +1,39 @@
|
|||
|
||||
Shader "Car/LightsEmmissive" {
|
||||
Properties {
|
||||
_Color ("Main Color", Color) = (1,1,1,1)
|
||||
_MainTex ("Base (RGB) RefStrength (A)", 2D) = "white" {}
|
||||
|
||||
_Intensity ("_Intensity", Range(0.0,3.0)) = 1.0
|
||||
}
|
||||
SubShader {
|
||||
LOD 200
|
||||
Tags { "RenderType"="Opaque" }
|
||||
|
||||
CGPROGRAM
|
||||
#pragma surface surf BlinnPhong
|
||||
|
||||
sampler2D _MainTex;
|
||||
|
||||
float4 _Color;
|
||||
float _Intensity;
|
||||
|
||||
struct Input {
|
||||
float2 uv_MainTex;
|
||||
INTERNAL_DATA
|
||||
};
|
||||
|
||||
void surf (Input IN, inout SurfaceOutput o)
|
||||
{
|
||||
half4 tex = tex2D(_MainTex, IN.uv_MainTex);
|
||||
half4 c = tex * _Color;
|
||||
|
||||
o.Albedo = c.rgb;
|
||||
o.Emission = o.Albedo * _Intensity;
|
||||
// o.Alpha = 1.0;
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
|
||||
FallBack "Reflective/VertexLit"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue