mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
More window chrome improvements
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "DrawQuad.h"
|
||||
#include "DrawQuadPixelConstants.h"
|
||||
|
||||
SamplerState nearestNeighborSampler : register(s0);
|
||||
Texture2D<uint> surfaceTexture : register(t0);
|
||||
@@ -18,7 +19,7 @@ float3 SamplePixel(int2 texCoord)
|
||||
SDrawQuadPixelOutput PSMain(SDrawQuadPixelInput input)
|
||||
{
|
||||
SDrawQuadPixelOutput result;
|
||||
result.color = float4(SamplePixel(int2(floor(input.texCoord.xy))), 1.0);
|
||||
result.color = float4(SamplePixel(int2(floor(input.texCoord.xy))), 1.0) * constants_Modulation;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user