CheiN Posted September 4, 2012 Posted September 4, 2012 Hey buddies ok i need a favor. I want learn how to make a bind that active a shader, if u press 1 time that shader will be enabled and if u Press it agaij it will be disables, so, can someone explain me how to make this? I know that is using bindKey and dxCreateShader but WHICH STATE I SHOULD USE?
Metall Posted September 5, 2012 Posted September 5, 2012 If the Shader command is like /shader it would be: bindKey ( F1, "up", "down", shader ) I'm not sure though, Solid can fix it if he founds any problems.
TAPL Posted September 5, 2012 Posted September 5, 2012 If the Shader command is like /shader it would be: bindKey ( F1, "up", "down", shader ) I'm not sure though, Solid can fix it if he founds any problems. bindKey("F1", "down", "shader")
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now