gKit2 light
Functions | Variables
tuto5GL_dynamic_cubemap.cpp File Reference

rendu dans une cubemap en 1 passe : draw instancie + vertex gl_Layer More...

#include <stdio.h>
#include "window.h"
#include "vec.h"
#include "mat.h"
#include "program.h"
#include "uniforms.h"
#include "mesh.h"
#include "wavefront.h"
#include "orbiter.h"
#include "image_io.h"

Go to the source code of this file.

Functions

int init ()
 
int quit ()
 
int draw ()
 
int main (int argc, char **argv)
 

Variables

GLuint program
 
GLuint program_cubemap
 
GLuint program_render_cubemap
 
GLuint texture_cubemap
 
GLuint depth_cubemap
 
GLuint framebuffer
 
GLuint vao
 
GLuint vao_null
 
GLuint vertex_buffer
 
GLuint normal_buffer
 
int vertex_count
 
Orbiter camera
 

Detailed Description

rendu dans une cubemap en 1 passe : draw instancie + vertex gl_Layer

Definition in file tuto5GL_dynamic_cubemap.cpp.