Bug 1230

Summary: Two-pass TextRenderer doesn't work if culling is enabled
Product: [JogAmp] Jogl Reporter: Alan Sambol <alan.zgb>
Component: graphAssignee: Sven Gothel <sgothel>
Status: RESOLVED WONTFIX    
Severity: normal CC: alan.zgb, kdropucic, rami.santina, sgothel
Priority: ---    
Version: tbd   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---
Bug Depends on:    
Bug Blocks: 1064    
Attachments: Screenshot results of the culling test
Test TestTextRendererNEWT00 with added culling

Description Alan Sambol 2015-09-23 14:40:28 CEST
Created attachment 743 [details]
Screenshot results of the culling test

If gl.glEnable(GL.GL_CULL_FACE) is set, graph text rendering doesn't work with region MSAA or VBAA. It works ok with full scene MSAA or no anti-aliasing.

If it can't be made to work with culling, the quick solution would be to simply disable GL_CULL_FACE before rendering, and enable it afterwards, maybe via a new hintMask or custom enable/disable callbacks for renderer.
Comment 1 Alan Sambol 2015-09-23 14:42:18 CEST
Created attachment 744 [details]
Test TestTextRendererNEWT00 with added culling
Comment 2 Sven Gothel 2024-02-14 00:51:27 CET
Not for now, perhaps on commission / contract.

Also note, we provide our own culling nowadays - and should be done in custom shader for the remaining app.