mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 15:31:49 +00:00
refactor res/shaders
This commit is contained in:
parent
52381d5afa
commit
8e159009eb
16 changed files with 85 additions and 61 deletions
|
|
@ -4,6 +4,6 @@ out vec4 f_color;
|
|||
uniform samplerCube u_cubemap;
|
||||
|
||||
void main(){
|
||||
vec3 dir = normalize(v_coord);
|
||||
f_color = texture(u_cubemap, dir);
|
||||
vec3 dir = normalize(v_coord);
|
||||
f_color = texture(u_cubemap, dir);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue