Gamestudio Links
Zorro Links
Newest Posts
Parameter selection
by clint000. 11/29/25 20:36
ZorroGPT
by TipmyPip. 11/29/25 09:38
webGL
by Ezzett. 11/27/25 23:22
Chart viewer
by clint000. 11/27/25 21:21
Black Friday discounts!
by jcl. 11/27/25 13:58
Future of ZorroHFT
by jcl. 11/27/25 13:51
Zorro 2.70
by jcl. 11/27/25 13:44
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (Quad, TipmyPip), 11,257 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
decotb, clint000, SkinnyApe, tritom, sheliepaley
19181 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: 871
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

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

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