1
\$\begingroup\$

I am rendering a scene into a RenderTexture and I have a set of 3D points. I want to convert these points from 3D to texture coordinate frame. It worked, when I rendered into screen and used camera.WorldToScreen() function. Now I have to render into texture. Is there any way to do the same as WorldToScreen() function does for the render/2D texture?

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

Now I found that this function WorldToScreenPoint works good as well for RenderTexture. The question was asked because didn't found answer by googling and saw always the same problem while getting screenshots

\$\endgroup\$
1
  • \$\begingroup\$ If this is the way you solved the issue, you should come back and mark this answer as "accepted" so that the system and other users know that it is indeed a good solution. \$\endgroup\$ Commented May 6, 2022 at 12:22

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.