uniform

package
v0.0.0-...-124f97e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Camera

type Camera struct {
	Proj        mat4.T
	View        mat4.T
	ViewProj    mat4.T
	ProjInv     mat4.T
	ViewInv     mat4.T
	ViewProjInv mat4.T
	Eye         vec4.T
	Forward     vec4.T
	Viewport    vec2.T
}

type Light

type Light struct {
	ViewProj  [4]mat4.T
	Shadowmap [4]uint32
	Distance  [4]float32
	Color     color.T
	Position  vec4.T
	Type      uint32
	Intensity float32
	Range     float32
	Falloff   float32
	// contains filtered or unexported fields
}

type LightSettings

type LightSettings struct {
	AmbientColor       color.T
	AmbientIntensity   float32
	Count              int32
	ShadowSamples      int32
	ShadowSampleRadius float32
	ShadowBias         float32
	NormalOffset       float32
	// contains filtered or unexported fields
}

type Object

type Object struct {
	Model    mat4.T
	Textures [4]uint32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL