Versions in this module Expand all Collapse all v0 v0.0.1 Jun 24, 2021 Changes in this version + type Option func(r *Renderer) + func WithBackground(c color.RGBA) Option + func WithConcurrency(n int32) Option + func WithDebug(enable bool) Option + func WithGammaCorrection(enable bool) Option + func WithMSAA(n int) Option + func WithScene(s *scene.Scene) Option + func WithShadowMap(enable bool) Option + func WithSize(width, height int) Option + func WithThreadLimit(n int) Option + type Renderer struct + func NewRenderer(opts ...Option) *Renderer + func (r *Renderer) Render() *image.RGBA + func (r *Renderer) UpdateOptions(opts ...Option) + type ShadowMap struct + func NewShadowMap(opts ...ShadowMapOption) *ShadowMap + func (sm *ShadowMap) Bias() float64 + func (sm *ShadowMap) Camera() camera.Interface + type ShadowMapOption func(sm *ShadowMap) + func WithShadowMapBias(bias float64) ShadowMapOption + func WithShadowMapCamera(c camera.Interface) ShadowMapOption + func WithShadowMapType(typ ShadowType) ShadowMapOption + type ShadowType int + const ShadowTypeHard + const ShadowTypeMSM + const ShadowTypePCF + const ShadowTypePCSS + const ShadowTypeVSSM