@hamoid wrote:
Hi! I’d like to make changes to the default shader currently being used. I would like to save the vert + frag source to a text file, make changes, then use my modified versions.
The programmable renderer offers
getCurrentShader()
but I thinkofGLRenderer
doesn’t.How can I get the shader sources currently in use? Maybe logging them at the bottom of
ofMaterial::initShaders()
?Update: by studying the code I get the impression ofMaterial is for programmable renderer only. Is that the case?
Posts: 1
Participants: 1