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