summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/chains/unfiltered.json
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-18 18:44:39 +0100
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-18 18:44:39 +0100
commit00f83c15ae5b9943f8253ed936fe54af49090f9b (patch)
tree713d8fa9186ea86bb1753d6f3ea47b24559998f4 /bgfx/chains/unfiltered.json
parentf464df3073abe73fef5ac560fab62bebc4ac2df9 (diff)
Fix screen flipping on opengl targets in bgfx, nw
Diffstat (limited to 'bgfx/chains/unfiltered.json')
-rw-r--r--bgfx/chains/unfiltered.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/bgfx/chains/unfiltered.json b/bgfx/chains/unfiltered.json
new file mode 100644
index 00000000000..467b5cd67f4
--- /dev/null
+++ b/bgfx/chains/unfiltered.json
@@ -0,0 +1,29 @@
+{ "name": "Default Nearest-Neighbor Filter",
+ "author": "Ryan Holtz",
+ "targets": [
+ { "name": "temp",
+ "mode": "guest",
+ "bilinear": true
+ },
+ { "name": "screen",
+ "mode": "native"
+ }
+ ],
+ "passes": [
+ { "effect": "blit",
+ "name": "Copy To Unstretched Texture",
+ "input": [
+ { "sampler": "s_tex", "texture": "screen" }
+ ],
+ "output": "temp"
+ },
+ { "effect": "blit",
+ "name": "Final Upscale",
+ "input": [
+ { "sampler": "s_tex", "texture": "temp" }
+ ],
+ "output": "screen"
+ }
+ ],
+ "output": "screen"
+} \ No newline at end of file