mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
use floats for instance colour memory
This commit is contained in:
@ -380,7 +380,7 @@ public class Renderer {
|
||||
.scale(instance.scale)
|
||||
data[i] = VertexShaderInstance(
|
||||
model: model, normalModel: model.inverse.transpose,
|
||||
color: SIMD4(Color<UInt8>(instance.color)))
|
||||
color: SIMD4(Color<Float>(instance.color)))
|
||||
}
|
||||
}
|
||||
instanceBuffer.didModifyRange(0..<instancesBytes)
|
||||
|
Reference in New Issue
Block a user