CheiN Posted September 4, 2012 Share 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? Link to comment
Castillo Posted September 5, 2012 Share Posted September 5, 2012 What do you mean by which state? Link to comment
Metall Posted September 5, 2012 Share 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. Link to comment
TAPL Posted September 5, 2012 Share 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") Link to comment
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