Program now outputs maximum pixel and vertex shader values.
Here's an example of the new helpfile export. Now outputs the effect constants with proper names of variables and default values(see bottom 3 lines).
scanline.fx
Variable Types:(For reference)
Variable Type: 1 Type: Boolean
Variable Type: 2 Type: Integer
Variable Type: 3 Type: Float
Variable Type: 4 Type: Vector
Variable Type: 5 Type: Matrix(For Textures)
The values(Hook values of 1, means DBP knows how to use these values)
Name:Timer Variable Type:3 Hook:1
Name:ScanLines Variable Type:3 Hook:0
Name:Speed Variable Type:3 Hook:0
Name:ScreenSize Variable Type:4 Hook:0
Name:BaseMap1 Variable Type:0 Hook:1
Name:DepthMap Variable Type:0 Hook:1
Name:BaseSamp1 Variable Type:0 Hook:1
Name:SineTex Variable Type:0 Hook:1
Name:SineSampler Variable Type:0 Hook:1
Name:NoisyTex Variable Type:0 Hook:1
Name:NoisySampler Variable Type:0 Hook:1
Remember: Be sure to change 'String Resource' to 'string name'(example)
string Resource = "default_bump_normal.dds";
to
string name = "default_bump_normal.dds";
File created with DBP Shader Helper Version - 0.98 created By Michael D. Shah
Here is the source code for your shader that needs to be setup.(For variable types 1-4)
Note: This source might need further editing to work properly.
set effect constant Float 1,ScanLines, 1.0
set effect constant Float 1,Speed, 1.0
set effect constant Vector 1,ScreenSize, 1
A book? I hate book. Book is stupid.
(Formerly Yellow)