I’m trying to prevent one of the meshes being draw by Vectrosity from casting shadows. I need to draw a 3D line but I don’t want it to cast a shadow on the underlying terrain. I can’t find anything that talks about this in the documentation. Does anyone know how to do this?
I know this topic is quite old, but it was the first hit I got when I googled and I couldn’t find any other answers… You probably moved on long ago… but I checked the faq and couldnt find anything about “necroing” old questions, so here goes!
The manual is a bit unclear about it, but it does talk about accessing the gameObject itself by using vectorObject:
myLine.vectorObject.renderer.castShadows = false;
The manual specifically mentions to be careful with vectorObject, but in this case it should be fine.