Hi @Leonidas, thanks for the advice!
I tried modifying our setup to use shader chunks and the pc.StandardMaterial
and it seems promising, but there is one aspect of our shader code that I cannot figure out how to get working with the shader chunk system. Our shaders require some extra attributes
(besides the default attributes
defined by the pc.StandardShader
), but I cannot figure out how to map our attributes
to a semantic.
I’ve read through some other forum posts discussing attributes
in shader chunks (Custom vertex attributes in chunk), but haven’t found a solution yet. Do you know if this is possible?
The good news is that I was able to modify our shaders (in a way that won’t work for our end goal) to remove our dependency on custom attributes
, and I did confirm that all the shadows work properly.