sm64coopdx/docs/lua/examples/lighting-engine-demo/a-constants.lua
Agent X 3e540790a3
Basic Vertex Point Lighting Engine (#716)
* CONCEPT: Basic vertex lighting engine

Set the geometry mode on your model to G_LIGHTING_ENGINE_EXT, spawn a `bhvAmbientLight`, spawn some `bhvPointLight`s, and then you got yourself a mighty interesting scene.

* Fixes

* How did I miss this

* Make light set home pos
2025-03-27 16:36:02 -04:00

6 lines
No EOL
329 B
Lua

LEVEL_HL = level_register("level_hl_entry", COURSE_BOB, "Black Mesa", "hl", 28000, 0x28, 0x28, 0x28)
LEVEL_CANALS = level_register("level_canals_entry", COURSE_WF, "Sunset Canals", "canals", 28000, 0x20, 0x20, 0x20)
SOUND_CUSTOM_FLASHLIGHT = audio_sample_load("flashlight.ogg")
DEFAULT_LIGHTING_DIR = 0x28 / 127