mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Default textures for diffuse/specular/normal/emission mat slots
This commit is contained in:
@ -23,6 +23,15 @@ const (
|
||||
ColorFormat_RGBA8
|
||||
)
|
||||
|
||||
var (
|
||||
DefaultBlackTexId Texture
|
||||
DefaultWhiteTexId Texture
|
||||
DefaultDiffuseTexId Texture
|
||||
DefaultSpecularTexId Texture
|
||||
DefaultNormalTexId Texture
|
||||
DefaultEmissionTexId Texture
|
||||
)
|
||||
|
||||
type Texture struct {
|
||||
// Path only exists for textures loaded from disk
|
||||
Path string
|
||||
|
||||
Reference in New Issue
Block a user