Commit graph

5 commits

Author SHA1 Message Date
Andrei Alexeyev
b39c9ba78e
resource: partial support for resource reloading 2022-01-02 08:28:02 +02:00
Andrei Alexeyev
e65a7f1b7f
resource/material: don't panic if failed to load 2021-12-28 09:00:20 +02:00
Andrei Alexeyev
e471837d4e
pbr: support ambient occlusion maps
AO maps modulate environment light
2021-09-01 00:48:59 +03:00
Andrei Alexeyev
fce0f97fe1
pbr: parallax occlusion mapping & better env lighting 2021-09-01 00:48:57 +03:00
Andrei Alexeyev
78266ace3f
pbr: refactor material management and shader
Introduced a new PBRMaterial resource type. Materials are now fully
described with .material files instead of being hardcoded. Added some
functions to abstract away and simplify set up of PBR shaders.
2021-09-01 00:21:50 +03:00