Skip to content

nariakiiwatani/ofxComposableShader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxComposableShader

You can compose ofShader by simple settings like this;

{
	"vertex" : [
		"point_sprite.vert"
	],
	"fragment" : [
		"mono_color.frag"
	],
	"uniform" : {
		"point_size" : {
			"type" : "float",
			"value" : 1,
			"imgui" : {
				"type" : "drag",
				"speed" : 1,
				"min" : 0,
				"max" : 100
			}
		},
		"color" : {
			"type" : "color",
			"value" : [1,1,1,1],
			"imgui" : {}
		}
	},
	"gl_state_bool" : {
		"point_size" : true,
		"point_sprite" : true
	}
}

Then you get this result;

screenshot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published