Commit graph

19 commits

Author SHA1 Message Date
21b7cecab1
silence weird errors from shaders
- somehow texturecube was getting sent to toon shader at some point down the line, simply defined register for it for now, don't know where it's getting sent
- pbr was expected Sampler not BasicSampler
2022-04-21 17:27:42 -04:00
601897d98c
finish implementing scene swapping 2022-04-21 15:22:32 -04:00
520c33b017
cleanup Game and Material .cpp
- regions and comments
- convert "pbr" to "mode" and have separate Activate for Toon shader
2022-04-20 00:47:06 -04:00
a3dcaebd57
implement toon ramp sampler 2022-04-20 00:12:16 -04:00
22d0253364
expose outline/rim values 2022-04-19 23:43:43 -04:00
a683ab21ff
support normal intensity 2022-04-19 23:15:15 -04:00
8c103bb3f9
add various shader supports
- standard+toon w/o albedo
- toon emission
- emission as a color
- standard+toon alpha+cutoff values (toon looks weird because of rim lighting at the moment)
2022-04-19 22:40:39 -04:00
0517fe07dd
implement pbr 2022-04-09 21:01:08 -04:00
4a0dfebd60
define bools for handling null texture maps 2022-04-03 16:28:10 -04:00
c0843b4ae0 cleanup the annoying stuff 2022-03-29 10:49:09 -04:00
51206816aa support a dynamic number of lights 2022-03-29 10:34:00 -04:00
4c911f8348 move texture loading to material class 2022-03-29 10:20:44 -04:00
cbb05cac56
add emissive support
- does not effect other objects in scene
2022-03-27 16:59:40 -04:00
32f0916f97
add uv offset/scale support 2022-03-27 16:44:28 -04:00
558a0b0238
pass textures to materials 2022-03-27 15:15:39 -04:00
fefdf69b9a
cleanup, relocate material/entity draw prep code 2022-03-27 14:18:14 -04:00
9ca7b66945
figure out why normals weren't correct
turns out i was passing camera transpose instead of entity transpose
2022-03-19 16:34:55 -04:00
15bf4521b4
begin working on new pixel shader with roughness 2022-03-19 14:32:21 -04:00
34ed169216
create materials 2022-02-27 12:28:58 -05:00