![]() |
Rendering scaled clip? | ![]() |
![]() |
![]() |
Kelvin
![]() |
![]() |
Also, on the note of scaling, I found how to compensate for the scale of the renderer when drawing to mouse coordinates, except that when the render area has a thinner aspect than the window, it makes a letterbox on the sides, and this letterbox still counts as an area for it to check when getting the mouse coordinates. How do I get the renderer's actual position on the window?
I would have put this in the first post, but the forum isn't letting me edit. |
||||||||||
|
![]() |
![]() |
Naith
![]() |
![]() |
Here's a code example on how to scale a texture, which is also clipped
Hopefully this will help you understand how it's works. Let me know if you have any more questions. |
||||||||||||
|
![]() |
![]() |
bigov
![]() |
![]() |
|
||||||||||||
|