1
\$\begingroup\$

I am writing a simulation environment for robotics and tasks I have are sometimes are quite peculiar. I am rendering a scene into a RenderTexture and I have a set of 3D points. I want these points to convert 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? Thanx

\$\endgroup\$
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

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.