NoMachine supports OpenGL software rendering for 2D and 3D graphics.
OpenGL support for connections to the remote physical desktop
It's just necessary that OpenGL is supported on the system and you will get OpenGL applications when connected to the remote physical desktop. Rendering performance depends on HW capabilities (GPU/CPU, RAM) of the remote host.
OpenGL support for Linux virtual desktops and custom sessions (single applications)
Also in this case OpenGL needs to be supported on the system and performance depends on HW capabilities.
A further option which may help to increase performance, is to enable VirtualGL support in NoMachine. The VirtualGL library redirects the 3D primitives to capable graphics hardware so that OpenGL is rendered through GPU if present rather than by software rendering.
To enable VirtualGL support in NoMachine:
for NoMachine v. 6.2 or later, https://www.nomachine.com/AR05P00982
for previous NoMachine versions, https://www.nomachine.com/AR11K00737