Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 1,258 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 Offline OP
User
Dooley  Offline 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 Offline OP
User
Dooley  Offline 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