0
\$\begingroup\$

I have a problem with a Unity project that I'm working on. I'm creating an 3D art gallery which will be developed into a VR application in the future.

In a 3D scene, I have created a paint canvas GameObject (a cube) but I have some trouble getting images fit on the whole canvas. When I try to apply an image as a material, it is treated as a texture and only a small part of the image is visible on the canvas.

I am planning to make a UI where the user can upload pictures and the application will automatically render the gallery with these pictures.

I drag and dropped a Mona Lisa image to the plane

enter image description here

\$\endgroup\$
  • \$\begingroup\$ Can you show us how you've configured the material on your cube, and a screenshot of what it looks like in game, compared to the original image? \$\endgroup\$ – DMGregory Oct 8 at 11:07
  • \$\begingroup\$ @DMGregory I uploaded a screenshot. This is what happens when I drag and drop the Mona Lisa image to plane. \$\endgroup\$ – Chatura Bashika Oct 8 at 13:02
  • \$\begingroup\$ That's one the two things I asked you for. Can you also ensure you show us your material configuration, and import settings on your texture? \$\endgroup\$ – DMGregory Oct 8 at 13:17
  • \$\begingroup\$ Done. Although I did not configure the martial properties like a texture. Just dropped it on the canvas. I need to know is there a way I can show any image in full size and fit in to the size of canvas frame. \$\endgroup\$ – Chatura Bashika Oct 8 at 17:31

Your Answer

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

Browse other questions tagged or ask your own question.