@robotPatrol wrote:
i am trying to rotate an fbo.
i have tested the following code in ofapp::draw() {}
layer.bind(); layer.getTexture().getTextureMatrix().newRotationMatrix(ofRandom(360), 30, 50, 78); layer.draw(0, 0); layer.unbind();
layer.draw(0, 0); draws, but
layer.getTexture().getTextureMatrix().newRotationMatrix(ofRandom(360), 30, 50, 78); has no effectnothing renders when i use layer.bind(); and layer.unbind();
thanks,
01
Posts: 1
Participants: 1