big rendering overhaul (cleaning and api abstraction)
This commit is contained in:
1 parent
b7cb37c06a
commit
5059802d09
25 files changed
+290
-424
No files matched your search
@@ -222,7 +222,10 @@ static void ingame_tick(State *state) {
|
||||
draw_terrain(scn);
|
||||
|
||||
draw_skybox("/assets/miramar/miramar_*.tga");
|
||||
draw_fog(0.9f, 1.0f, 0.05f, (Color){ 140, 147, 160, 255 });
|
||||
|
||||
ctx.fog_color = (Color){ 140, 147, 160, 255 };
|
||||
ctx.fog_start = 0.9f;
|
||||
ctx.fog_density = 0.05f;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user