summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/chains
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-04-21 07:52:29 +0200
committer ImJezze <jezze@gmx.net>2016-04-21 07:52:29 +0200
commitb1c06acb61c741fc9bcb1bd7428728e291510a39 (patch)
tree4c94fc0083fb832462b0b746fb98277551f4e87c /bgfx/chains
parenta72ad0c4fe65b507bc4fd17aac580683e289e2fd (diff)
Implemented handling for u_screen_scale and u_screen_offset (nw)
Diffstat (limited to 'bgfx/chains')
-rw-r--r--bgfx/chains/hlsl.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgfx/chains/hlsl.json b/bgfx/chains/hlsl.json
index 2b730966a47..7e431f72803 100644
--- a/bgfx/chains/hlsl.json
+++ b/bgfx/chains/hlsl.json
@@ -14,6 +14,9 @@
// type: string
"author": "Ryan Holtz & ImJezze",
+ // transform (optional): This value determines whether the screen container is transformed the chain's shaders, otherwise the core renderer will handle the transformation (scale, offset).
+ "transform": true,
+
// sliders (optional): The list of sliders used by all of the entries in this chain. Can be omitted if no entries use any sliders.
"sliders": [
// type (required): The sliders's conceptual type. Is it a list of string selections? Is it a single floating-point value? Does it require RGB values, or XY values?