add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
13
gamedata/shaders/d3d11/rain_apply_gloss.ps.hlsl
Normal file
13
gamedata/shaders/d3d11/rain_apply_gloss.ps.hlsl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
Texture2D s_patched_normal;
|
||||
|
||||
float4 main(float2 tc : TEXCOORD0, float2 tcJ : TEXCOORD1) : SV_Target
|
||||
{
|
||||
float Gloss = s_patched_normal.Sample(smp_nofilter, tc).w;
|
||||
|
||||
float ColorIntencity = 1.0f - sqrt(Gloss);
|
||||
ColorIntencity = max(ColorIntencity, 0.5f);
|
||||
|
||||
return float4(ColorIntencity, ColorIntencity, ColorIntencity, 0.0f);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue