Closed mheiste closed 6 years ago
Try the following at the bottom of your node.render
function:
shader31c3:deactivate() -- deactivate shader
gl.ortho() -- reset the projection matrix to its default
font:write(370, 340, "Hello", 400, 0.5,0.27,0,1)
Works!
Thanks a lot!
Hi, i was wondering how it is possible to draw fixed Text over animated background (like https://info-beamer.com/raspberry-pi-digital-signage-animated-background-pattern-138.html). As long as gl.perspective() ist used to get a fancy view, I can't use gl.push/popMatrix() to achieve this.
Currently my node.lua looks like this (taken from the link above):
Ideas?
Greets Mark ...