mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
un-hardcode various render properties (environment, material)
This commit is contained in:
7
Sources/Voxelotl/Renderer/Material.swift
Normal file
7
Sources/Voxelotl/Renderer/Material.swift
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
public struct Material {
|
||||
public var ambient: Color<Float16>
|
||||
public var diffuse: Color<Float16>
|
||||
public var specular: Color<Float16>
|
||||
public var gloss: Float
|
||||
}
|
Reference in New Issue
Block a user