Tianyu Li
Tianyu Li
I use Slang heavily in our in-house Pre-Computed GI Baker. Slang is a powerful and elegant shader solution. The problem is the Ray Tracing part is not cross-platform enough. We...
  ```MESSY_PAD(3)``` is expanded to ```uint3 padVar11``` but it should be ```uint3 padVar14```.
in gbuffer_vs.hlsl: `o_vtx.normal = mul(instanceMatrix, float4(i_vtx.normal, 0)).xyz;` `o_vtx.tangent.xyz = mul(instanceMatrix, float4(i_vtx.tangent.xyz, 0)).xyz;` `o_vtx.tangent.w = i_vtx.tangent.w;` need to use transpose(inverse(instanceMatrix)).