Documentation
¶
Index ¶
- func Fill(img draw.Image)
- func FromHeightmap(heightmap texturing.Texture[float64], scale float64) texturing.Texture[vector3.Float64]
- func ImageFromHeightmap(heightmap image.Image, scale float64) *image.RGBA
- func ToNormalmap(normals texturing.Texture[vector3.Float64]) image.Image
- type Direction
- type HeightmapFromImageNode
- type Line
- type Sphere
- type TextureFromHeightmapNode
- type ToNormalMapNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromHeightmap ¶
Types ¶
type HeightmapFromImageNode ¶ added in v0.33.0
func (HeightmapFromImageNode) Out ¶ added in v0.33.0
func (n HeightmapFromImageNode) Out(out *nodes.StructOutput[image.Image])
type Line ¶
type TextureFromHeightmapNode ¶ added in v0.33.0
type TextureFromHeightmapNode struct { In nodes.Output[texturing.Texture[float64]] Scale nodes.Output[float64] }
func (TextureFromHeightmapNode) Image ¶ added in v0.33.0
func (n TextureFromHeightmapNode) Image(out *nodes.StructOutput[image.Image])
func (TextureFromHeightmapNode) Texture ¶ added in v0.33.0
func (n TextureFromHeightmapNode) Texture(out *nodes.StructOutput[texturing.Texture[vector3.Float64]])
type ToNormalMapNode ¶ added in v0.33.0
func (ToNormalMapNode) NormalMap ¶ added in v0.33.0
func (n ToNormalMapNode) NormalMap(out *nodes.StructOutput[image.Image])
Click to show internal directories.
Click to hide internal directories.