Age | Commit message (Collapse) | Author |
|
Fix side-effects of having both sun and moon as potential directional light contributors.
We pass an int to the shader indicating which to prefer instead of making per-pixel decisions
and pass the moonlight color/di independently.
Obsolete llsettingssky fade color which was unused elsewhere and cached for no reason.
|
|
extraneous GL state management.
|
|
Add optional moon brightness setting
|
|
Fix binding of current/next sun/moon textures.
Remove redundant code in GLSLShader determination of tex uniform bindings.
Unhack mix calls in sun/moon shaders to reverse sense of blending (was working around reversed bindings).
|
|
(default is no sun disc and just haze)
Refactor sky texture optimization to retain building the cubemap used by shiny.
|
|
shading, and fix transposed name of daycycle func.
|
|
Add plumbing facilities to allow current and next moon textures to be passed to moon shader.
Modify moon shader to blend between current and next moon textures by blend factor.
|
|
Add MouseMoon positioning ala MouseSun debug setting and accessors to use it.
|