mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-24 11:01:43 -08:00
Basic GUI
This commit is contained in:
1 parent
a7bd88aa6c
commit
d84095e1ea
42 files changed
+1970
-363
No files matched your search
@@ -610,6 +610,8 @@ public:
|
||||
material_ref.buffer.reset();
|
||||
material_ref.ds.reset();
|
||||
|
||||
material_ref.double_sided = gltf_material.doubleSided;
|
||||
|
||||
scene_data::material::gpu_data & material_data = material_ref.staging;
|
||||
|
||||
material_data.base_color_factor = convert(gltf_material.pbrData.baseColorFactor);
|
||||
@@ -718,7 +720,7 @@ public:
|
||||
primitive_ref.vertex_count = vertices.size();
|
||||
|
||||
primitive_ref.cull_mode = vk::CullModeFlagBits::eBack; // TBC
|
||||
primitive_ref.front_face = vk::FrontFace::eClockwise; // TBC
|
||||
primitive_ref.front_face = vk::FrontFace::eCounterClockwise; // TBC
|
||||
primitive_ref.topology = convert(gltf_primitive.type);
|
||||
|
||||
if (gltf_primitive.materialIndex)
|
||||
|
||||
Reference in new issue
Block a user