Is there any shader that could show text on screen

  • Posts: 3
1 year 1 month ago - 1 year 1 month ago #1 by chipachipy
https://photos.app.goo.gl/5CVMXBk4QkrPrKUj8

the final result could be similar to this image

you can show clock ,fps or any text you want,and put it where you like and even edit the text style.

If there is already a shader like this please tell me :huh:

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

  • Posts: 3
1 year 1 month ago #2 by chipachipy
Hello?please replay :oops: :pinch:

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

  • Posts: 53
1 year 1 month ago #3 by Faustus86

chipachipy wrote: Hello?please replay :oops: :pinch:


I can not open you Link so i don't know exactly what you are looking for.
The only Shader i know with this purpose is layer.fx
You can put there "what you want" (Watermark etc.) but it is a Single Image.
The following user(s) said Thank You: chipachipy

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

  • Posts: 3
1 year 1 month ago #4 by chipachipy
I edited the picture link,it should work fine now

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

  • Posts: 7
1 year 1 month ago - 1 year 1 month ago #5 by DonaldDuckling
hello, i don't want to start a new topic, but is there a way to use more than one layer.fx?
and make it a different image?
i have copied the shader and edited the layer source to the new image, but both layers load whatever the original layer.fx is referencing.

also maybe keep the aspect ratio of the image? or allow scaling on separate x and y axis .

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

  • Posts: 11
1 year 1 month ago #6 by Marot

DonaldDuckling wrote: hello, i don't want to start a new topic, but is there a way to use more than one layer.fx?
and make it a different image?
i have copied the shader and edited the layer source to the new image, but both layers load whatever the original layer.fx is referencing.

also maybe keep the aspect ratio of the image? or allow scaling on separate x and y axis .

Scaling should preserve aspect ratio at the moment, but you'll need to modify the following accordingly in the second copy:
Texture Code [ Click to expand ]

And also rename the second one's technique to something other than Layer:
Technique Name [ Click to expand ]

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

  • Posts: 7
1 year 1 month ago - 1 year 1 month ago #7 by DonaldDuckling
yes i've changed both of these, but it doesnt work. it loads whatever layer.png is even if its nothing.

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