I’m using a point light that casts shadows and but the rendering has artifacts. I’m assuming it’s something to do with my models but IDK.
plight = PointLight("plight")
plight.setColor((1.4, 1.4, 1.4, 1))
plight.setShadowCaster(True, 1024, 1024)
plnp = render.attachNewNode(plight)
plnp.setPos(0, 3, 8)
self.render.setShaderAuto()
sphere = self.loader.loadModel("models/misc/sphere")
sphere.setScale(0.2,0.2,0.2)
sphere.reparentTo(plnp)
render.setLight(plnp)