Skip to content

asaiyuta/ofxShaderUtill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ofxShaderUtill

publishing uniform

  ofShader shader;
  ofxShaderUtill shaderUtill;
  ofVec2f vec;
  ofFbo fbo;
  ofTexture tex;
  
  void setup(){
    ...
    shaderUtill.setShader(shader);
    shaderUtill.publishUniformArg("force", vec);
    shaderUtill.publishUniformArg("tex0", tex, 0);
    shaderUtill.publishUniformArg("tex1", fbo, 1);
    ...
  }
  
  void draw(){
    ...
    shaderUtill.begin();
    ...
    
    shaderUtill.end();
    ...
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages