mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
MeshRendererComponentEditor
- Explicit conversion from VectorX to float[X] - Expose "Columns" and "Rows" properties of BufferVariable - Effects: VariableDescriptors
This commit is contained in:
@@ -311,7 +311,11 @@ namespace GlitchyEngine.Renderer
|
||||
Debug.Profiler.ProfileRendererScope!("SetVariables");
|
||||
|
||||
entry.Material.SetVariable("ViewProjection", _sceneConstants.ViewProjection);
|
||||
|
||||
entry.Material.SetVariable("Transform", entry.Transform);
|
||||
|
||||
Matrix3x3 mat = (Matrix3x3)(entry.Transform).Invert().Transpose();
|
||||
entry.Material.SetVariable("Transform_InvT", mat);
|
||||
}
|
||||
|
||||
entry.Material.Bind(_context);
|
||||
|
||||
Reference in New Issue
Block a user