init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
9
gamedata/shaders/d3d11/vignette.ps.hlsl
Normal file
9
gamedata/shaders/d3d11/vignette.ps.hlsl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
float4 main(p_shadow I) : SV_Target
|
||||
{
|
||||
float3 col = s_image.Load(int3(I.hpos.xy, 0), 0).xyz;
|
||||
col *= 1.0f - saturate(distance(I.tc0, float2(0.5f, 0.5f)));
|
||||
|
||||
return float4(col, 1.0f);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue