Last active
July 16, 2022 09:49
-
-
Save kism/1802158df9ef734408194ff92e8b6d18 to your computer and use it in GitHub Desktop.
Dolphin Emulator Integer Scale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() | |
{ | |
//Make sure internal resolution is set to 1x | |
float2 pos = floor(GetCoordinates() * GetResolution()) * GetInvResolution(); | |
float4 c0 = SampleLocation(pos); | |
SetOutput(float4(c0.r, c0.g, c0.b, c0.a)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment