Robotics StackExchange | Archived questions

Ray sensor only sees the old mesh although I modified it by using geometry shader

I tried to add the geometry shader into the material script of the pine_tree model, it can work and change the visual of the tree:

Original: image description

After modified: image description

But the ray sensor only sees the old one: image description

Why does the ray sensor only see the one one? What can I do to make the tree looks different than it's original? In this case I tried with writing glsl to modify it.

Asked by Quang Nguyen on 2020-10-28 23:57:58 UTC

Comments

Answers