Game
RTG - The Ray-Traced Game

5 years ago

Example of level building and how lighting is affecting visual quality


Hi All,

Was working on another prototype level. This time focus was to start programming first 'puzzle' (or level building) elements for the game.

Before getting to main devlog entry covering last batch of work more deeply (with some fancy animations too), here's short story how level was built and how lighting affects output visual quality.

1. only ambient light - everything looks flat (maybe I'll add some ambient occlusion later in development or in RTG 2 )

2. darker ambient and added one strong point light (with weak attenuation) - just one light brought brutal change

3. all switches have small lightie (red or green depending on state) with strong attenuation - so they do just small 'local' environment illuminations

4. finally added 2 more lamps (one white at bottom of the level, one red at exit door) - just to add even more depth to scene

Note: those reddish vertical walls are doors and black part of the floor in front of player is elevator. Both are now changed to look more 'final'.

1


0 comments

Loading...

Next up

RTG Flashback - Nov 2021 Tirador de las luces cargadas! Nueva mecánica añadida al juego un año y medio después del comienzo de desarrollo. Tenía mucha diversión con esa. Es un poco como jugar billar. https://store.steampowered.com/app/4032050/RTG/

RTG Flashback - April 2021 #2 Level from my sci-fi puzzle/platformer, involving use of "carriable boxes", a puzzle mechanics which is used extensively in the game, along with more game mechanics which will be presented later. https://store.steampowered.com/app/4032050/RTG

RTG Flashback - Enero 2022 Hola! Otro flashback de desarrollo de RTG. En enero de 2022, ya tenía mayoría de niveles hechos. A pesar de eso, todavía tenía montón de trabajo adelante (la regla 80/20). https://store.steampowered.com/app/4032050/RTG

RTG Flashback - March '21 #3 One of the first levels with elevators. Here, you can see, that thx to my ray-tracing algorithm, every tiny light in the game is actual emitter which illuminates its environment and cast shadows. https://store.steampowered.com/app/4032050/RTG

RTG Dev Flashback - Nov '21 #2 Another level with "charged light shooters". I can say, that's around this level when game's difficulty spikes up. After 20-30 levels of quite light puzzles, the game will start challenging even skilled puzzle players.

RTG Flashback - Julio 2022 Otro flashback de desarrollo de RTG. Estas "luces mortales cargadas" son la última mecánica de gameplay que he añadido al juego. Con esas, el juego podía ser también más arcade, no sólo puro puzzle. https://store.steampowered.com/app/4032050/RTG

Dev Flashback - Jan '22 Another flashback! In January 2022, I had majority of puzzles already done. Despite that, big amount of work was still before me (80/20 rule). In animation you can see one of later levels in the game. https://store.steampowered.com/app/4032050/RTG

RTG Dev Flashback - Nov '21 Charged light shooters! Mechanics, which added "pool" or "billiards" gameplay. Lot of fun with that. Moreover, this effect of environment illumination is for free thanks to game's engine, so why not use it?

RTG Flashback - Nov 2021 #2 Otro ejemplo de nivel con tirador de luces cargadas. Más o menos desde este nivel el juego se vuelve realmente desafiante (después de unos 20-30 niveles con puzzles bastante ligeros). https://store.steampowered.com/app/4032050/RTG/

Dev Flashback - Nov '21 #3 End of 2021 was very productive in RTG development. After "charged light shooters", I implemented "gravity inverters", great mechanics with lot of potential for new puzzles. Here's small showcase. https://store.steampowered.com/app/4032050/RTG