Im getting some odd artifacts with the grid material in certain setups. Any input on what might be causing this?
cc @sebavan
it looks like it would be related to the extrude shape and the values of the positions somehow…
it does not make any sense to be honest I ll dig deeper a bit later, cc @Evgeni_Popov if you have an idea ?
replacing with a box is ok… this is getting weirder
hahah that’s what I thought!
Im going to end up replacing the textures so its not really that big of an issue but I thought it was weird for sure.
yup it is and I am still investigating cause both extrude and box have the same vertices so the plot thickens
It looks like it could be a problem with the normals, which are more “tangent” to the triangle where artifacts occur:
It’s probably a by-product of the grid shader when normals are nearly in the tangent plane → if you convert the box to flat shaded, the artifacts disappear (box.convertToFlatShadedMesh();
):