mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31: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
|
|
@ -28,6 +28,7 @@ uniform vec3 u_torchlightColor;
|
|||
uniform float u_torchlightDistance;
|
||||
|
||||
#include <lighting>
|
||||
#include <fog>
|
||||
|
||||
void main() {
|
||||
a_modelpos = u_model * vec4(v_position, 1.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue