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

asked 2020-10-28 23:57:58 -0500

Quang Nguyen gravatar image

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.

edit retag flag offensive close merge delete