Login  Register

Re: TextRegionUtil and bad result

Posted by paolofuse on Feb 18, 2016; 8:42am
URL: https://forum.jogamp.org/TextRegionUtil-and-bad-result-tp4036271p4036307.html

Hi Julien,
finally I tried the "old" text renderer with GL3 but I had to fix some bugs:

- the use of VAO was forced, I have made it working with setUseVertexArrays method of TextRenderer
- the setColor method set wrong color, using Green component also for Blue
- calling beginRendering for the first time with a not white (1, 1, 1, 1) color threw an exception, I have created a init() method to call before start rendering

With these changes TextRenderer works perfectly.
Thanks