mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
20 lines
253 B
HLSL
20 lines
253 B
HLSL
//!MAGPIE EFFECT
|
|
//!VERSION 4
|
|
|
|
//!TEXTURE
|
|
Texture2D INPUT;
|
|
|
|
//!TEXTURE
|
|
Texture2D OUTPUT;
|
|
|
|
//!SAMPLER
|
|
//!FILTER POINT
|
|
SamplerState sam;
|
|
|
|
//!PASS 1
|
|
//!STYLE PS
|
|
//!IN INPUT
|
|
//!OUT OUTPUT
|
|
float4 Pass1(float2 pos) {
|
|
return INPUT.SampleLevel(sam, pos, 0);
|
|
}
|