How can one change the orientation of the surface of a line being rendered?
it seems it tries to orient towards the camera by default.
orientation of line rendering
2128 4 0- jeffMc
- Member
- 124 posts
- Joined: April 2014
- Online
- sl0throp
- Member
- 258 posts
- Joined:
- Offline
This has to do with the way that mantra handles curve rendering. I believe that the curve is projected to screen space and then rendered with a width based on an attribute or a default value. If you want to start rendering it other than that chances are you will need to write a custom shader that does some sort of displacement. As an example, it is pretty easy to make a shader that displaces the surface to look like a tube, rather than a ribbon.
- jeffMc
- Member
- 124 posts
- Joined: April 2014
- Online
- jsmack
- Member
- 7658 posts
- Joined: Sept. 2011
- Online
- jeffMc
- Member
- 124 posts
- Joined: April 2014
- Online
-
- Quick Links