Shaders - DaveFan19/VS-Dave-Psych-Engine GitHub Wiki

How To add shaders to your stage:

1st: make a normal hardcoded stage as like you do in psych engine(you can base it off the 3dred one!) 2nd: skip 2 lines of code after the stages's code and after it paste this code:

var testshader:Shaders.GlitchEffect = new Shaders.GlitchEffect();
testshader.waveAmplitude = 0.1;
testshader.waveFrequency = 5;
testshader.waveSpeed = 2;
bg.shader = testshader.shader;
curbg = bg;

in total your code might look like this:

unknown

Important Note: in case '3dRed': and curStage = '3dRed'; change 3dRed to your stage's name

ALSO ANOTHER IMPORTANT NOTE:Shaders Only work on This Port/source or any other that has dave and bambi shaders installed and these shaders have to be hard coded!