mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-25 21:40:19 +00:00
...
This commit is contained in:
parent
077d34e79b
commit
4fe958d86b
1 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@ sampler2D _NoiseTex;
|
||||||
fixed _Fade;
|
fixed _Fade;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
half _NightMultiplier = 0.5;
|
float _NightMultiplier = 0.5;
|
||||||
|
|
||||||
struct Input
|
struct Input
|
||||||
{
|
{
|
||||||
|
@ -31,11 +31,12 @@ struct Input
|
||||||
};
|
};
|
||||||
|
|
||||||
void vert (inout appdata_full v) {
|
void vert (inout appdata_full v) {
|
||||||
|
|
||||||
float4 c;
|
float4 c;
|
||||||
c.rg = v.texcoord1.xy;
|
c.rg = v.texcoord1.xy;
|
||||||
c.ba = v.texcoord2.xy;
|
c.ba = v.texcoord2.xy;
|
||||||
|
|
||||||
c.a = _NightMultiplier;
|
/*c.a = _NightMultiplier;*/
|
||||||
|
|
||||||
/*v.color = v.color * (1 - _NightMultiplier) + c * _NightMultiplier;*/
|
/*v.color = v.color * (1 - _NightMultiplier) + c * _NightMultiplier;*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue