Refactor shaders

This commit is contained in:
ns6089
2023-09-10 12:36:08 +03:00
committed by Cameron Gutman
parent 2086cad96e
commit 7f2b96b3e0
30 changed files with 301 additions and 497 deletions

View File

@@ -0,0 +1,9 @@
Texture2D cursor : register(t0);
SamplerState def_sampler : register(s0);
#include "include/base_vs_types.hlsl"
float4 main_ps(vertex_t input) : SV_Target
{
return cursor.Sample(def_sampler, input.tex_coord, 0);
}