un-hardcode various render properties (environment, material)

This commit is contained in:
2024-08-25 14:49:07 +10:00
parent 7a417e0701
commit 428b142bf2
8 changed files with 85 additions and 37 deletions

View 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
}