Weizhen Huang
|
a2388945fa
|
Merge branch 'main' into spot_light_to_sphere_light_with_cone
|
2023-07-07 17:09:48 +02:00 |
Weizhen Huang
|
016d80ff6f
|
Cleanup: rename function
|
2023-06-26 11:27:35 +02:00 |
Weizhen Huang
|
d531f1980a
|
Cleanup: adjust comments regarding point light
|
2023-06-24 22:06:21 +02:00 |
Weizhen Huang
|
a20393238b
|
Add comment regarding light normalization
|
2023-06-24 21:41:45 +02:00 |
Weizhen Huang
|
939c58cd6f
|
Add versioning code to replace Normal socket of Texture Coordinate node
with Incoming socket of Geometry shader node
|
2023-06-24 20:29:35 +02:00 |
Weizhen Huang
|
6b56c0b144
|
Remove TODO
|
2023-06-23 18:56:22 +02:00 |
Weizhen Huang
|
e93a8fc117
|
Only apply attenuation outside of the sphere
|
2023-06-23 18:53:51 +02:00 |
Weizhen Huang
|
70dec4c747
|
Add UV so that spot light behaves like a projector
|
2023-06-23 18:08:57 +02:00 |
Weizhen Huang
|
db905cc7f2
|
Fix wrong light direction used in MNEE
|
2023-06-23 15:50:54 +02:00 |
Weizhen Huang
|
7276bddfb7
|
Improve sampling by choosing the smaller one from the spread cone and visible sphere cone
|
2023-06-23 15:50:54 +02:00 |
Weizhen Huang
|
d55a26255b
|
Store `eval_fac` instead of `invarea`
|
2023-06-23 15:50:51 +02:00 |
Weizhen Huang
|
a922a6457c
|
Treat spot light as sphere light with attenuation
|
2023-06-23 15:47:34 +02:00 |