Celestia/Celx Scripting/CELX Lua Methods/CEL command setgalaxylightgain

setgalaxylightgain
setgalaxylightgain { gain   } 

Set the level of Galaxy light gain (brightness).

Notes:
 * 1) When visiting Galaxies outside of the Milky Way, boosting brightness can improve your view of distant Galaxies, while within the Milky Way, lowering the brightness can improve your view of stars, planets, moons etc..
 * 2) Galaxy brightness will also respond to setting the faintest visible magnitude of stars, using the setfaintestautomag45deg or setvisibilitylimit commands. These commands are linked.

CELX equivalent:

Based on the celestia:setgalaxylightgain method.


 * Set the level of Galaxy light gain (brightness) to .

celestia:setgalaxylightgain()

Example: Enable the rendering of Galaxies and maximize their brightness.

CEL:

renderflags { set "galaxies" } setgalaxylightgain { gain 1 }

CELX:

celestia:setrenderflags{galaxies = true} celestia:setgalaxylightgain(1)

Back to CEL command index