#include <GLES3/gl3.h>
#include "app.h"
#include "glutil.h"
#include "timer.h"
#include "shader.h"
#include "common.h"
#include "primitives.h"
#include "meshloader.h"
#include <fstream>
Go to the source code of this file.
#define GL_EXT_shader_pixel_local_storage 1 |
#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 |
#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 |
#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 |
bool init_app |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
void render_cube |
( |
mat4 |
model, |
|
|
bool |
normal = true |
|
) |
| |
void render_pass_opaque |
( |
| ) |
|
void render_pass_resolve |
( |
| ) |
|
void render_pass_shading |
( |
| ) |
|
void render_pass_thickness |
( |
bool |
second_pass | ) |
|
void render_sphere |
( |
mat4 |
model, |
|
|
bool |
normal = true |
|
) |
| |
void render_teapot |
( |
mat4 |
model, |
|
|
bool |
normal = true |
|
) |
| |
float aspect_ratio = 1.0f |
|
static |
Initial value:
Definition at line 60 of file app.cpp.
Initial value:
Definition at line 65 of file app.cpp.
Initial value:
Definition at line 56 of file app.cpp.
Initial value:
Definition at line 69 of file app.cpp.
float model_scale = 0.01f |
|
static |
float s_distortion = 0.07f |
|
static |
float s_sharpness = 10.0f |
|
static |