but the predefintion does not…
so I manually deleted the ‘u’ (I think it actually is an INT or UINT auto type?), and the PBR shader works, but, with wrong appearance:
1, environment cubemap reflection missing on the surface. (SPH diffuse works)
2, ugly black strips on the model (not sure it’s shadow color or AO map color)
On it i ll fix it tonight for the compilation issue, about the wrong appearance with stripes could you share a repro ? I can not seem to reproduce with other models ?
i guess it related to shader precision or something. last time when i was creating some 2d efx shader if use sin to generate random number the black strip appears on the graphics. because our platform is not a standard web browser so not sure if this is the same issue, so i think you probably cant reproduce the bug on standard browser. anyway i’ill provide you a zip link later tomorrow when i’m in office (please keep the file secret because it’s our business confidential, thanks, that’s the reason i didnot create a PG case for you sorry.)
this is the issue last time i encountered.
i’ll try to find the exact reason tomorrow on my side and let you know.