AbstractAtmosphereProgram

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Frag color indicates the atmospheric scattering color components written to the fragment color. Accepted values are PRIMARY, SECONDARY and PRIMARY_TEX_BLEND.

Properties

Link copied to clipboard

Indicates the approximate size of the OpenGL resources referenced by this GPU program.

Functions

Link copied to clipboard
fun loadAtmosphereParams(equatorialRadius: Double, atmosphereAltitude: Double)
Link copied to clipboard

Day/night sun-path dimming 0, 1: 1 = terminator active (time-of-day sun), 0 = disabled.

Link copied to clipboard
fun loadEyePoint(eyePoint: Vec3)
Link copied to clipboard
Link copied to clipboard
fun loadGroundStrength(strength: Float)

Ground-atmosphere strength 0, 1: 1 = full scattering (from space), 0 = none (near ground).

Link copied to clipboard
fun loadLightDirection(direction: Vec3)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun release(dc: DrawContext)

Frees any resources associated with this instance. After this method returns the rendering resource is invalid, and any associated GL object is deleted.

Link copied to clipboard