Sign in to follow this  
CheiN

^^ Hey.

Recommended Posts

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?

Share this post


Link to post

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.

Share this post


Link to post
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") 

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.