WIP changes to fix White Box rendering with Atom
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"materialType": "Materials/Types/StandardPBR.materialtype",
|
||||
"parentMaterial": "Materials/Presets/PBR/default_grid.material"
|
||||
}
|
||||
@@ -98,7 +98,7 @@ namespace WhiteBox
|
||||
|
||||
// specify the data format for vertex stream data
|
||||
AZ::RHI::BufferDescriptor bufferDescriptor;
|
||||
bufferDescriptor.m_bindFlags = AZ::RHI::BufferBindFlags::InputAssembly | AZ::RHI::BufferBindFlags::ShaderRead;
|
||||
bufferDescriptor.m_bindFlags = AZ::RHI::BufferBindFlags::DynamicInputAssembly | AZ::RHI::BufferBindFlags::ShaderRead;
|
||||
bufferDescriptor.m_byteCount = bufferSize;
|
||||
bufferDescriptor.m_alignment = elementSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user