@buffer = Ashton::WindowBuffer.new
def draw
@buffer.clear
@buffer.render { draw_3d }
if button_down?(Gosu::KbTab)
# Convert the half-over/under image to the desired stereo output format
post_process (@shader) {
@buffer.draw 0,0,0
}
else
@buffer.draw 0,0,0
end
end
Texture.new.render{}
block to fix it (not sure if it still happens). Or a bug when trying to read image pixels and Y-axis is inverted somehow.
Texture.new.render{}
at the top of my Window#draw?
WindowBuffer.new.render{}
(small mistake)Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill