Gamestudio Links
Zorro Links
Newest Posts
Is Text Box data check possible?
by gamers. 02/17/20 11:09
Behaviour of user-defined bars
by Petra. 02/15/20 13:34
Optimization parameters results
by Petra. 02/15/20 13:22
Bollinger Band - Multi Timeframe
by migo. 02/15/20 06:50
Votes for future features
by 7th_zorro. 02/13/20 05:50
Quote size
by Zheka. 02/12/20 17:10
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
6 registered members (thomasprv, jenGs, AndrewAMD, Zheka, gamers, txesmi), 800 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
DebraSteed, Ricard, Apollo1, ziphnor, thomasprv
18377 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
pp_lens.fx #478984
01/31/20 02:09
01/31/20 02:09
Joined: May 2005
Posts: 723
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 723
Chicago, IL
I am trying to use the pp_lens.fx effect. It works, but it seems too strong for what I want. Is it possible to make the effect slightly less strong? The only parameters offered are the x and y coordinates for the effect, I don't see anything about the strength of the effect.

Re: pp_lens.fx [Re: Dooley] #478985
01/31/20 02:12
01/31/20 02:12
Joined: May 2005
Posts: 723
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 723
Chicago, IL
Oops, I think I found it.

Code
float off = 0.1 * exp2(-dot(midCoord.xy, midCoord.xy));


This seems to determine the strength. Changing 0.1 to a lower value, like 0.05 makes the effect less obvious.


Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1