projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
forsenRun
[carveJwlIkooP6JGAAIwe30JlM.git]
/
render.h
diff --git
a/render.h
b/render.h
index 91fe39ea0516585ee37cafecea6ba710e53aca6a..f17018bb2e767006dbd6701c355a7f5e9dd5b33b 100644
(file)
--- a/
render.h
+++ b/
render.h
@@
-16,9
+16,11
@@
#include "shaders/vblend.h"
#endif
#include "shaders/vblend.h"
#endif
-VG_STATIC void render_water_texture( world_instance *world, camera *cam );
+VG_STATIC void render_water_texture( world_instance *world, camera *cam,
+ int layer_depth );
VG_STATIC void render_water_surface( world_instance *world, camera *cam );
VG_STATIC void render_water_surface( world_instance *world, camera *cam );
-VG_STATIC void render_world( world_instance *world, camera *cam );
+VG_STATIC void render_world( world_instance *world, camera *cam,
+ int layer_depth );
VG_STATIC void render_world_depth( world_instance *world, camera *cam );
#ifndef RENDER_H
VG_STATIC void render_world_depth( world_instance *world, camera *cam );
#ifndef RENDER_H
@@
-186,8
+188,8
@@
framebuffers[] =
{
{
"colour", k_framebuffer_attachment_type_colour,
{
{
"colour", k_framebuffer_attachment_type_colour,
- .internalformat = GL_R
GBA
,
- .format = GL_R
GBA
,
+ .internalformat = GL_R
ED
,
+ .format = GL_R
ED
,
.type = GL_UNSIGNED_BYTE,
.attachment = GL_COLOR_ATTACHMENT0
},
.type = GL_UNSIGNED_BYTE,
.attachment = GL_COLOR_ATTACHMENT0
},