User:Eroc remag

From Bo3b's School for Shaderhackers
Revision as of 01:47, 8 December 2014 by Eroc remag (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
DX9Settings.ini

[General]
UseRenderedShaders=true
DumpAll=false

// Constant registers that will arrive in Vertex and Pixel Shaders, as c220
DefVSConst1 = 220  		
DefPSConst1 = 220

// The PresetKeysList specifies which KEYs will be used.
// Multiple keys lists are supported.
// Note that the KEY sections are in hexadecimal
PresetsKeysList = 1;2;

// Type=1 is toggle, Type=2 is momentary. 
[KEY1]
//Numpad 0
Key = 96 
Presets = 1;2;
Type = 1

// Constants that will be sent to every shader through constant register c220.
// The Const1 tells us that we'll need to use c220.x to compare against these
// values.  Const2 would be seen as c220.y.
// 0x3f800000 is 1.0 in floating point hex, 0x00000000 is 0.0 in hex
// UseByDef specifies which constant is the default starting value.
[PRES1]
Const2 = 0x3f800000
UseByDef=True
[PRES2]
Const2 = 0x00000000

[KEY2]
//Numpad 9
Key = 105  
Presets = 3;4;
Type = 1 

[PRES3]
Const2 = 0x3f000000
UseByDef=True
[PRES4]
Const2 = 0x3e800000