(Sega Saturn homebrew) Sonic Z-Treme (2018-07-19) New global lightning




Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jul 19, 2018

New update to Sonic Z-Treme.
I've added back entities, so now there are rings and ennemies all over.
I also quickly coded a global static lightning function in my converter using palettes.
It looks good enough, but it's free to render compared to gouraud lightning.
Also seen here is the new "Metal" shading : I'm actualy using a hardware bug to use gouraud shading on paletted sprites, which should be impossible according to official Saturn documentation.
I'm using red gouraud (LSB, so bits 0 to 4) and green gouraud (bits 5 to 9) to shift the palette.
By having non-linear increase in colors, you can create bump mapping and metallic effects.
This bug doesn't work well on emulators, only on real hardware.

The code isn't optmized yet, so there are some framerate drops. Also, I have some glitches with my view frustum that I will need to fix, and my collision code isn't spot on yet.

All the maps seen here were shared by Andrew75 and are straight from Project AXSX with some minor modifications by me to fit my own engine.

Coded in C using the Sega Graphic Libraries, running on stock Sega Saturn.

Ps : sorry for the bad filming, I didn't notice until it was too late!


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...