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

From Wikibooks, open books for an open world
Jump to navigation Jump to search

renderpath[edit]

renderpath { path <string> }

With higher end graphics cards, Celestia 1.6.0 gives you several choices for Vertex Shading by using this command.


Notes:

  1. To see Vertex Shading, you must have an appropriate graphics card that renders shading via the Open GL process.
  2. Each card manufacturer results in slightly different shading choices.
  3. Many render features within Celestia are only visible if OpenGL 2.0 is enabled..


Arguments:

path <string>
String, that corresponds with one of the available render paths. Must be one of:
  • "basic"
  • "multitexture"
  • "vp" for Open GL vertex program.
  • "vp-nv" for Open GL vertex/Nvidia Combiners.
  • "glsl" for Open GL 2.0.


Example:
Use renderpath "glsl" for Open GL 2.0.

CEL:

renderpath { path "glsl" }


Back to CEL command index