initial commit

This commit is contained in:
2025-05-01 23:03:47 +02:00
commit a23fbff52a
200 changed files with 434542 additions and 0 deletions

28
ScopEngine/Assets/Shaders/SkyboxFragment.nzsl git.filemode.normal_file
View File

@@ -0,0 +1,28 @@
[nzsl_version("1.0")]
module;
struct VertOut
{
[location(0)] uvw : vec3[f32]
}
struct FragOut
{
[location(0)] color: vec4[f32],
[builtin(frag_depth)] depth: f32
}
external
{
[set(1), binding(0)] skybox: sampler_cube[f32]
}
[entry(frag)]
[depth_write(greater)]
fn main(input: VertOut) -> FragOut
{
let output: FragOut;
output.color = skybox.Sample(input.uvw);
output.depth = 1.0;
return output;
}