Commit graph

20 commits

Author SHA1 Message Date
51206816aa support a dynamic number of lights 2022-03-29 10:34:00 -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
149903c7d7
add specular map support 2022-03-27 16:30:40 -04:00
29b3605cba
make corrections to light calculations 2022-03-27 16:07:07 -04:00
3a92403510
render albedo 2022-03-27 15:47:31 -04:00
3d7c777db6
shader optimization: calculate view once per shader 2022-03-19 18:12:50 -04:00
daa850622a
shader comments 2022-03-19 18:07:52 -04:00
141df67a72
support point lights 2022-03-19 18:00:11 -04:00
8ec8b16a88
support 3 directional lights 2022-03-19 17:39:52 -04:00
db81b3a3b9
create helper for directional light 2022-03-19 17:23:25 -04:00
e96c1c2e55
refactor into helpers 2022-03-19 17:09:27 -04:00
66e2741912
hlsli reorganization 2022-03-19 16:55:22 -04:00
a4bfd4e0c3
add specular 2022-03-19 16:49:03 -04:00
57650e310e
calculate directional light 2022-03-19 16:39:01 -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
cd4ea05aae
define light in shader 2022-03-19 15:05:40 -04:00
096923a5aa
pass normals and worldPosition to pixel shader 2022-03-19 14:47:50 -04:00
948fafec16
define ambient for shader 2022-03-19 14:41:21 -04:00
15bf4521b4
begin working on new pixel shader with roughness 2022-03-19 14:32:21 -04:00