Can I use Cubemaps with Rust and OpenGL?


I would like to use Rust for a computer graphics assignmet which involves cubemaps. As I understand glium does not support cubemaps yet:

What are my options here? Can I use somethig more higher level then for supporting cubemaps?


You may want to look at gfx-rs, which is basically safer and more sane OpenGL bindings (it’s actually more general, but that’s an other topic). It does have a Cube texture type, so I assume that it’s supported, but I haven’t tested. It’s a quite nice library, anyway.


Turns out glium has a unsafe back door for executing arbitrary OpenGL calls.

Half a night’s gone, and I’m done :smile: