mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-21 00:01:21 +00:00
* C++ lighting engine Runs better using my new system for storing and iterating through lights. I removed the lighting ctx profiler because after I've realized its very inaccurate and was probably programmed incorrectly from the start. Although I remember it working fine before and not constantly showing 20 ms or higher when I'm in an extremely simple level with extremely simple lights and the FPS is way too high for it to be taking 20 ms. * Whoops * Make some optimizations * Fix small bug with LE inside graphics vertex function I also brought back the lighting profiler because it's better than nothing. * Some optimizations * Cache active lights and 4 lights per vertex limit Less branching and less iterating with the limit * Screen shader effects for Lua [OpenGL] Hue, saturation, brightness, contrast, exposure, dithering, posterization Global = usually an object in the world Non global = usually a screen element Also: * Changed skyboxes to use environment color instead of vertex color, visually identical * Changed hud head texture to be non global * changed power meter to be non global * changed sparkles to be global * changed some BBH vertex types to global OpenGL renderer supported only for now. * Add default values and better function names Also fixed sizes in reset function * Add scanlines effect * Add global enabled function * Fix some default values * Hopefully fix white sparkles * Whoops * Address review * Update function names * Fix shader crash * Address reviews |
||
|---|---|---|
| .. | ||
| eu | ||
| bbh_skybox.c | ||
| bitdw_skybox.c | ||
| bitfs_skybox.c | ||
| bits_skybox.c | ||
| cave.c | ||
| ccm_skybox.c | ||
| cloud_floor_skybox.c | ||
| clouds_skybox.c | ||
| custom_font.c | ||
| custom_textures.c | ||
| debug_level_select.c | ||
| effect.c | ||
| fire.c | ||
| generic.c | ||
| grass.c | ||
| inside.c | ||
| machine.c | ||
| mountain.c | ||
| outside.c | ||
| segment2.c | ||
| sky.c | ||
| snow.c | ||
| spooky.c | ||
| ssl_skybox.c | ||
| title_screen_bg.c | ||
| water.c | ||
| water_skybox.c | ||
| wdw_skybox.c | ||