- Improved cameras with viewfinder toggles and an auto-level button.
- Enhanced camera bubble. - Added placeholder player podiums. - Added Crunch compression to more textures.
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
Shader "Custom/ScreenUV"
|
||||
Shader "Custom/FrontfaceCulling"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_Color ("Color", Color) = (1,1,1,1)
|
||||
_MainTex ("Albedo (RGB)", 2D) = "white" {}
|
||||
_Roughness ("Roughness", Range(0,1)) = 1.0
|
||||
_Metallic ("Metallic", Range(0,1)) = 0.0
|
||||
}
|
||||
SubShader
|
||||
{
|
||||
@@ -20,9 +17,6 @@ Shader "Custom/ScreenUV"
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
|
||||
sampler2D _MainTex;
|
||||
half _Roughness;
|
||||
half _Metallic;
|
||||
fixed4 _Color;
|
||||
|
||||
struct Data
|
||||
@@ -48,8 +42,7 @@ Shader "Custom/ScreenUV"
|
||||
fixed4 frag(V2F i) : SV_TARGET
|
||||
{
|
||||
float2 textureCoordinate = i.screenPosition.xy / i.screenPosition.w;
|
||||
fixed4 colour = tex2D(_MainTex, textureCoordinate);
|
||||
colour *= _Color;
|
||||
fixed4 colour = _Color;
|
||||
return colour;
|
||||
}
|
||||
ENDCG
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 45c3b5b42497f8c49bd1f9e1755ec60a
|
||||
guid: aef6d6073aae31049ace0e1c376bc64e
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
Reference in New Issue
Block a user