git lfs files
This commit is contained in:
parent
4d9e3d8fa9
commit
585642caf0
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
|
||||
linear_extrude(0.0001)
|
||||
square([1, 1], center = true);
|
Binary file not shown.
|
@ -0,0 +1,10 @@
|
|||
|
||||
$fn = 256;
|
||||
|
||||
linear_extrude(0.0001)
|
||||
translate([0.5, 0.5])
|
||||
difference()
|
||||
{
|
||||
circle(d = 0.81);
|
||||
circle(d = 0.8);
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,20 @@
|
|||
|
||||
#version 460 core
|
||||
#extension GL_ARB_bindless_texture : require
|
||||
|
||||
in float brightness;
|
||||
in flat sampler2D tex;
|
||||
in vec2 texPos;
|
||||
|
||||
out vec4 FragColour;
|
||||
|
||||
uniform mat4 tex_mat;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 texdata = texture2D(tex, texPos);
|
||||
FragColour = tex_mat * texdata * vec4(vec3(brightness), 1);
|
||||
|
||||
if(FragColour.a == 0) discard;
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
#version 460 core
|
||||
#extension GL_ARB_bindless_texture : require
|
||||
|
||||
layout (location = 0) in sampler2D aTex;
|
||||
layout (location = 1) in vec2 aTexPos;
|
||||
layout (location = 2) in vec4 aPos;
|
||||
layout (location = 3) in vec3 aNormal;
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 projection;
|
||||
|
||||
out float brightness;
|
||||
out flat sampler2D tex;
|
||||
out vec2 texPos;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 pos = model * aPos;
|
||||
vec3 cNormal = vec3(0.f, 0.f, 1.f) * mat3(model);
|
||||
|
||||
brightness = dot(normalize(aNormal), normalize(cNormal)) * 0.25f + 0.75f;
|
||||
|
||||
gl_Position = projection * pos;
|
||||
texPos = aTexPos;
|
||||
tex = aTex;
|
||||
}
|
||||
|
|
@ -0,0 +1,82 @@
|
|||
# Blender 4.0.2 MTL File: 'None'
|
||||
# www.blender.org
|
||||
|
||||
newmtl M_ClayPot1
|
||||
Ns 380.250000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.370000 0.370000 0.370000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsLargeUV.png
|
||||
|
||||
newmtl M_ClayPot2
|
||||
Ns 380.250000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.370000 0.370000 0.370000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsSmallUV.png
|
||||
|
||||
newmtl M_Dirt
|
||||
Ns 36.000000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.050000 0.050000 0.050000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsLargeUV.png
|
||||
|
||||
newmtl M_Dirt2
|
||||
Ns 36.000000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.050000 0.050000 0.050000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsSmallUV.png
|
||||
|
||||
newmtl M_GrassyLeaf
|
||||
Ns 302.760040
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.250000 0.250000 0.250000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsLargeUV.png
|
||||
|
||||
newmtl M_IvyLeaf
|
||||
Ns 324.000031
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsSmallUV.png
|
||||
|
||||
newmtl M_LargeLeaf
|
||||
Ns 492.839996
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsLargeUV.png
|
||||
|
||||
newmtl M_SmallLeaf
|
||||
Ns 380.250000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd PlantsSmallUV.png
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue