netpoet coop and 64kode
This commit is contained in:
9
netpoet-coop-8k/src/intro/framework/shaders/resolve.hlsl
Normal file
9
netpoet-coop-8k/src/intro/framework/shaders/resolve.hlsl
Normal file
@@ -0,0 +1,9 @@
|
||||
Texture2D<float4> t2d0 : register(t0);
|
||||
|
||||
float4 main(in float2 uv : TEXCOORD) : SV_Target0
|
||||
{
|
||||
int2 s;
|
||||
t2d0.GetDimensions(s.x, s.y);
|
||||
return t2d0.Load(int3(uv * s, 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user