You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
I tried using the default PhysicalMaterial and got this error:
Physical Shader: program_source:985:5: error: no matching function for call to 'pbrDirectLighting'
pbrDirectLighting(pixel, lights);
^~~~~~~~~~~~~~~~~
program_source:673:6: note: candidate function not viable: no known conversion from 'const constant Light' to 'const constant Light *' for 2nd argument; take the address of the argument with &
void pbrDirectLighting(thread PixelInfo &pixel, constant Light *lights)
^
There appears to be a missing ampersand on this line in the Physical Shader.
Other calls to pbrDirectLighting within this repo use an ampersand, such as this one and this one.
I cloned Stain, added an ampersand to that line, added it as a local swift package and the error went away.
The text was updated successfully, but these errors were encountered:
I tried using the default
PhysicalMaterial
and got this error:There appears to be a missing ampersand on this line in the Physical Shader.
Other calls to
pbrDirectLighting
within this repo use an ampersand, such as this one and this one.I cloned Stain, added an ampersand to that line, added it as a local swift package and the error went away.
The text was updated successfully, but these errors were encountered: