mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
split render pipelines
This commit is contained in:
parent
fc46b7c434
commit
c1608fe8e2
13 changed files with 176 additions and 191 deletions
|
|
@ -7,7 +7,7 @@ uniform samplerCube u_cubemap;
|
|||
|
||||
void main(){
|
||||
vec3 dir = normalize(v_coord);
|
||||
f_position = vec4(100000.0);
|
||||
f_position = vec4(0.0, 0.0, 0.0, 1e9);
|
||||
f_normal = vec4(0.0);
|
||||
f_color = texture(u_cubemap, dir);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue