ShiVa3D
Draw outline on iPhone
iOS Development and xCode questionsDraw outline on iPhone
by zandro » 19 Feb 2012, 22:26
Hi. I noticed that the effect "draw outline" in the material editor does not work on iphone. Is it so or is there something wrong? There is an alternative on iphone?
- zandro
- Junior Boarder

- Posts: 26
Re: Draw outline on iPhone
by NiCoX » 19 Feb 2012, 23:10
Hi,
Indeed ES does not support wireframe drawing, on which this option is based. We still have to implement another method. But it can be approximated with the current engine by using a second mesh with vertexes slightly offseted along their normals, and playing with material attributes such as priority and depth write.
Indeed ES does not support wireframe drawing, on which this option is based. We still have to implement another method. But it can be approximated with the current engine by using a second mesh with vertexes slightly offseted along their normals, and playing with material attributes such as priority and depth write.
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
Re: Draw outline on iPhone
by zandro » 20 Feb 2012, 19:02
Thanks NiCoX. If it is the only way we will try in this way, we hope that soon you implement something more comfortable.
- zandro
- Junior Boarder

- Posts: 26
3 posts
• Page 1 of 1