Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [SOLVED] how can i found a Crosshair Shader ?

Author
Message
SkinK4ir3
8
Years of Service
User Offline
Joined: 25th Aug 2015
Location:
Posted: 31st Jul 2023 21:28
hello everyone !!
i am trying to make a custom fps game in agk 2
have a way to make a Crosshair Shader ?

I am referring to the crosshairs that depending on the surface that the crosshairs focus on, affect the color of the crosshairs so that the player is always clear ...
Could someone give me a light on how to solve this?

The author of this post has marked a post as an answer.

Go to answer

janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 1st Aug 2023 17:40 Edited at: 1st Aug 2023 17:46
This post has been marked by the post author as the answer.
Hi There,

I made a quick demo of how one yould achive this effect for you:
Screenshot:

Demo:
Complementary shader.zip

Attachments

Login to view attachments
SkinK4ir3
8
Years of Service
User Offline
Joined: 25th Aug 2015
Location:
Posted: 1st Aug 2023 17:55
thank you so much <3
would you have any shaders course in agk?
SkinK4ir3
8
Years of Service
User Offline
Joined: 25th Aug 2015
Location:
Posted: 1st Aug 2023 18:02
when running the example, everything is black on the screen
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 1st Aug 2023 21:22
Might this be cause of AppGameKit Classic and AppGameKit Studio.
My Demo ist made in Studio, so does the original Executable work for you ?
SkinK4ir3
8
Years of Service
User Offline
Joined: 25th Aug 2015
Location:
Posted: 4th Aug 2023 20:44
thanks u very much !!!

Login to post a reply

Server time is: 2024-05-06 16:19:56
Your offset time is: 2024-05-06 16:19:56