mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
add entity shader
This commit is contained in:
parent
8e159009eb
commit
4197746c69
8 changed files with 83 additions and 16 deletions
|
|
@ -10,7 +10,7 @@ uniform vec3 u_fogColor;
|
|||
uniform float u_fogFactor;
|
||||
uniform float u_fogCurve;
|
||||
|
||||
void main(){
|
||||
void main() {
|
||||
vec3 fogColor = texture(u_cubemap, a_dir).rgb;
|
||||
vec4 tex_color = texture(u_texture0, a_texCoord);
|
||||
float depth = (a_distance/256.0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue