gKit2 light
|
reflets miroirs cubemap / envmap. More...
#include <memory>
#include "wavefront.h"
#include "texture.h"
#include "orbiter.h"
#include "program.h"
#include "uniforms.h"
#include "draw.h"
#include "app_camera.h"
Go to the source code of this file.
Classes | |
class | TP |
Functions | |
GLuint | read_cubemap (const int unit, const char *filename, const GLenum texel_type=GL_RGBA) |
charge une image, decoupe les 6 faces et renvoie une texture cubemap. More... | |
int | main (int argc, char **argv) |
reflets miroirs cubemap / envmap.
Definition in file tuto_cubemap.cpp.
GLuint read_cubemap | ( | const int | unit, |
const char * | filename, | ||
const GLenum | texel_type = GL_RGBA |
||
) |
charge une image, decoupe les 6 faces et renvoie une texture cubemap.
Definition at line 17 of file tuto_cubemap.cpp.