- Home /
How to turn off shadows in Vectrosity?
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?
Answer by Curb · Apr 14, 2014 at 10:09 AM
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.
Your answer
Follow this Question
Related Questions
3D Lines not facing camera 1 Answer
Draw Graph with Vectrosity in NGUI window 1 Answer
How to add Colider to Vectrosity? 0 Answers
Vectrosity Grid of Lines - coming out as diagonal converging at a point 0 Answers
Moving graph using vectrosity 1 Answer