Capry

Results 10 comments of Capry

Apologies about all the issues with the shader file formatting This is my first time working on these

> Why the effect is so different in mobile than forward? It's a simpler calculation than forward+ I wouldn't mind putting the same calculation as forward+ into the mobile shader...

I fixed an error in using the direct light affect slider modified AO in the bent normal specular occlusion calculation instead of the baseline AO. This is now accurate to...

I added a comment linking a PDF of the paper mentioned for spherical cap intersections. This paper was only briefly mentioned in the main paper so I thought it'd be...

I created a [small scene](https://github.com/LunaCapra/godot-bent-normals-test/releases/download/1.0.0/BentNormalTest.zip) with CC0 models from polyhaven that I also generated bent normals for. This should make testing this PR easier. The project has TAA, SSAO, SSIL...

> [@LunaCapra](https://github.com/LunaCapra) should bent normals work with triplanar? There's no technical reason why they shouldn't

![image](https://github.com/user-attachments/assets/c8aa54a0-fc12-4668-bf98-e2bc152bd970) Confirmed on my end (master [`88f3b5f`](https://github.com/godotengine/godot/commit/88f3b5f9d52f740b24fabfb8bc01b8b7026ba279)) This is somewhat vaguely hinted at in the documentation for [C# Variant](https://docs.godotengine.org/en/latest/tutorials/scripting/c_sharp/c_sharp_variant.html#variant-compatible-types) where it notes that a standard array is equivalent to `Godot.Collections.Array`...

I found that exporting native C# arrays of a godot object type (e.g. resource) does work as well, so it's not just packed arrays that work.