Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: JeGX on May 09, 2014, 05:01:21 PM

Title: OpenGL 4.4 Bindless textures
Post by: JeGX on May 09, 2014, 05:01:21 PM
The code sample pack (http://www.geeks3d.com/glslhacker/cs/) includes now two simple demos of OpenGL 4.4 bindless textures:  host_api/GLSL_Bindless_Textures_OpenGL44/

The first demo uses two textures and shows how to set them as resident ( gh_texture.bindless_make_resident )
and how to read them from a pixel shader:
(http://www.ozone3d.net/public/jegx/201405/glslhacker-opengl44-bindless-textures-demo-simple.jpg)

The second demo loads a pack of 32 textures and performs caustic animation.  The demo shows how to read an array of bindess textures in a pixel shader:
(http://www.ozone3d.net/public/jegx/201405/glslhacker-opengl44-bindless-textures-demo-caustic.jpg)