Files
Lucina3DS/externals/nihstro/examples/assembler/cube_lighting
2025-02-07 16:21:42 +08:00
..
2025-02-06 22:24:29 +08:00
2025-02-06 22:24:29 +08:00
2025-02-07 16:21:42 +08:00
2025-02-06 22:24:29 +08:00

cube lighting example

An example similar to cube, but with some rudimentary vertex lighting effects. The shader used is somewhat more complex and involves a LOOP to implement multiple light sources.

Before trying to compile, make sure your NIHSTRO environment variable points to the directory nihstro-assemble resides in. Additionally, ctrulib in revision 1f52ac344d or similar is required, plus some patches to implement proper uniform setters.