Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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: 868
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

Joined: May 2005
Posts: 868
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: 868
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

Joined: May 2005
Posts: 868
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