Screen position and coordinates

  • deanogamer
  • Topic Author
More
1 year 1 month ago #1 by deanogamer Screen position and coordinates was created by deanogamer
Hiya! I am currently using the "overlay" shader as a kind of retro BEZEL featuring a CRT tv image and need a way to be able to place the gameplay screen inside.......I have the "aspect ratio" shader that enables me to control the height and width of the gameplay screen, but I cannot find a way to be able to move the gameplay screen where i need it......I need the ability to be able to move my resized gameplay screen up and down, left and right

Any help would be greatly appreciated

Please Log in or Create an account to join the conversation.

  • crosire
More
1 year 1 month ago #2 by crosire Replied by crosire on topic Screen position and coordinates
The cTransform.fx effect from the CShade repository can do this (can be installed via ReShade setup, code is at github.com/papadanku/CShade/blob/main/shaders/cTransform.fx ).

Please Log in or Create an account to join the conversation.

  • serjimbus
More
11 months 4 days ago #3 by serjimbus Replied by serjimbus on topic Screen position and coordinates
Hi, I'm trying to do this, but the overlay image of "overlay.fx" is dragged across the game screen while I use "ctransform.fx". (this happens to me with other ".fx" files too) How do I make the "overlay" image stay fixed in one position while I correct the game screen with ctransform.fx?
Thanks in advance.

Please Log in or Create an account to join the conversation.

  • crosire
More
11 months 4 days ago #4 by crosire Replied by crosire on topic Screen position and coordinates
You apply overlay.fx after ctransform.fx, not before.
The following user(s) said Thank You: serjimbus

Please Log in or Create an account to join the conversation.

  • serjimbus
More
11 months 4 days ago #5 by serjimbus Replied by serjimbus on topic Screen position and coordinates
It worked, first I deleted the preset.ini where I was testing the overlay, and made a copy of the original Reshadepreset.ini. From the copied.ini I activated the ctransform.fx first, played with the scaling a bit, and then activated Overlay.fx. It no longer dragged the image. Thank you very much.

Please Log in or Create an account to join the conversation.