Posted By: Emre
Fitting entity to the screen, based size (in pixel) - 03/24/20 07:35
Hi everyone!
As some of you know, i'm working on wallpaper project. Now i need some help.
I have to use an entity as a wallpaper, instead of "panel" or "view entity". Because I have to use shader effects, especially post process. I use the vec_to_screen function to fit the wallpaper on the screen like this;
But this way causes some problems. Is there an easier way to do this? I want to fit wallpaper on the screen without moving the object in the x direction.
You can download and take a look the sample from here.
Thanks in advance!
As some of you know, i'm working on wallpaper project. Now i need some help.
I have to use an entity as a wallpaper, instead of "panel" or "view entity". Because I have to use shader effects, especially post process. I use the vec_to_screen function to fit the wallpaper on the screen like this;
But this way causes some problems. Is there an easier way to do this? I want to fit wallpaper on the screen without moving the object in the x direction.
You can download and take a look the sample from here.
Thanks in advance!