REVIEWED: Examples section comments, for better organization and consistency
This commit is contained in:
parent
1fa3c15942
commit
c579eef4b7
19 changed files with 253 additions and 170 deletions
|
|
@ -35,6 +35,9 @@
|
|||
|
||||
#define MAX_CUBES 30
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
// GBuffer data
|
||||
typedef struct GBuffer {
|
||||
unsigned int framebuffer;
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@
|
|||
#define COLORS_PER_PALETTE 8
|
||||
#define VALUES_PER_COLOR 3
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Global Variables Definition
|
||||
//------------------------------------------------------------------------------------
|
||||
static const int palettes[MAX_PALETTES][COLORS_PER_PALETTE*VALUES_PER_COLOR] = {
|
||||
{ // 3-BIT RGB
|
||||
0, 0, 0,
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ typedef enum {
|
|||
//FX_FXAA
|
||||
} PostproShader;
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Global Variables Definition
|
||||
//------------------------------------------------------------------------------------
|
||||
static const char *postproShaderText[] = {
|
||||
"GRAYSCALE",
|
||||
"POSTERIZATION",
|
||||
|
|
|
|||
Loading…
Reference in a new issue