Fixed compilation errors;
Added MaterialPalette
This commit is contained in:
@@ -7,8 +7,7 @@ namespace Ghost.Engine.Components;
|
||||
public struct MeshInstance : IComponent
|
||||
{
|
||||
public Handle<Mesh> mesh;
|
||||
// NOTE: This will be the first material, we can access other materials by the bindless index of the first material + the local index stored in the meshlet.
|
||||
public Handle<Material> materialStart;
|
||||
public int materialPaletteIndex;
|
||||
public ShadowCastingMode shadowCastingMode;
|
||||
public RenderingLayerMask renderingLayerMask;
|
||||
public bool staticShadowCaster;
|
||||
|
||||
Reference in New Issue
Block a user