You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm drawing text in a window to which a fragment shader is set (e.g. like in the wavy shader example) it looks rather garbled
It looks like down there the whole atlas is drawn (abc...) although only fmt.Fprintln(basicTxt, "Hello, text!") was added to the basicTxt drawn.
I thought that both the image and the text was drawn to the canvas and therefore it should be treated as an entity and subject to the shader. This doesn't seem to be the case. Any help appreciated.
When I'm drawing text in a window to which a fragment shader is set (e.g. like in the wavy shader example) it looks rather garbled
It looks like down there the whole atlas is drawn (
abc...
) although onlyfmt.Fprintln(basicTxt, "Hello, text!")
was added to thebasicTxt
drawn.And the black boxes could be the shader not knowing the output color.
I thought that both the image and the text was drawn to the canvas and therefore it should be treated as an entity and subject to the shader. This doesn't seem to be the case. Any help appreciated.
Original issue: faiface/pixel#260
The text was updated successfully, but these errors were encountered: