Mercurial > games > semicongine
diff tests/test_gltf.nim @ 1281:c09cdff9a97e
merge
author | sam <sam@basx.dev> |
---|---|
date | Mon, 29 Jul 2024 15:53:03 +0700 |
parents | a89a70ea3da2 e0ba4aead324 |
children | 0369fa1ffbd9 |
line wrap: on
line diff
--- a/tests/test_gltf.nim Mon Jul 29 15:49:37 2024 +0700 +++ b/tests/test_gltf.nim Mon Jul 29 15:53:03 2024 +0700 @@ -29,7 +29,7 @@ emissive: Vec4f = vec4(0, 0, 0, 0) # emissiveTexture: int32 = -1 MainDescriptors = object - materials: array[32, GPUValue[Material, UniformBuffer]] + materials: array[50, GPUValue[Material, UniformBuffer]] camera: GPUValue[Camera, UniformBufferMapped] Shader = object objectData {.PushConstantAttribute.}: ObjectData @@ -129,7 +129,7 @@ renderdata.AssignBuffers(primitive[0]) renderdata.AssignBuffers(descriptors) - var pipeline = CreatePipeline[Shader](renderPass = vulkan.swapchain.renderPass) + var pipeline = CreatePipeline[Shader](renderPass = vulkan.swapchain.renderPass, cullMode=[]) InitDescriptorSet(renderdata, pipeline.descriptorSetLayouts[0], descriptors) renderdata.FlushAllMemory()