mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
feat: deferred shading (day 2)
This commit is contained in:
parent
a585b52aa2
commit
0bd901d1a6
23 changed files with 236 additions and 92 deletions
|
|
@ -6,13 +6,17 @@ uniform sampler2D u_position;
|
|||
uniform sampler2D u_normal;
|
||||
uniform sampler2D u_noise;
|
||||
uniform sampler2D u_ssao;
|
||||
uniform sampler2D u_shadows;
|
||||
uniform samplerCube u_skybox;
|
||||
|
||||
uniform ivec2 u_screenSize;
|
||||
uniform float u_intensity;
|
||||
uniform float u_timer;
|
||||
uniform bool u_enableShadows;
|
||||
uniform mat4 u_projection;
|
||||
uniform mat4 u_view;
|
||||
uniform mat4 u_inverseView;
|
||||
uniform vec3 u_sunDir;
|
||||
uniform vec3 u_cameraPos;
|
||||
|
||||
#include <__effect__>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue