18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-24 16:39:13 +01:00

feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first

This commit is contained in:
2026-10-24 05:47:11 +02:00
parent 68fa5dc2da
commit bd589f272d
235 changed files with 9397 additions and 3975 deletions

View File

@@ -0,0 +1,11 @@
#version 460 core
#define STAGE_FRAGMENT 1
// heightmap terrain with holes cut in it, for the portals of tunnels and the like (opengl46_terrain_materials): the cells cut
// out entirely are left out of the mesh, the rest of the openings is cut here. the mask of the holes covers the chunk, 255
// where the ground is cut; the fragments where the value led between its samples is over the half are discarded
#define TERRAIN_HOLES 1
#pragma texture(holes, 7, R)
layout(binding = 7) uniform sampler2D holes;
#include "mat_terrain.glsl"