git lfs files

This commit is contained in:
Jay Robson 2024-01-31 00:12:14 +11:00
parent 4d9e3d8fa9
commit 585642caf0
17 changed files with 161 additions and 0 deletions

BIN
assets/font/DroidSans.ttf Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
linear_extrude(0.0001)
square([1, 1], center = true);

Binary file not shown.

View File

@ -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.

BIN
assets/scene-baked.glb (Stored with Git LFS) Normal file

Binary file not shown.

20
assets/shader/main.fsh Normal file
View File

@ -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;
}

28
assets/shader/main.vsh Normal file
View File

@ -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;
}

View File

@ -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

BIN
assets/unbaked/AllPlants/AllPlants.obj (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/unbaked/AllPlants/PlantsLargeUV.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/unbaked/AllPlants/PlantsSmallUV.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/unbaked/scene.blend (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/unbaked/scene.stl Normal file

Binary file not shown.

BIN
assets/unbaked/scene/smooth+white+tile-1024x1024.png (Stored with Git LFS) Normal file

Binary file not shown.