Gamestudio Links
Zorro Links
Newest Posts
Reading a TXT file on server
by Truth. 06/06/20 23:28
Chat Room for Zorro Programmers
by SteveG. 06/06/20 21:40
Zorro S for Oanda US
by SteveG. 06/06/20 21:37
Indicator coding
by danatrader. 06/06/20 19:04
The Black Book
by danatrader. 06/06/20 18:31
New AUM
by Aku_Aku. 06/06/20 10: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
2 registered members (Grat, Dooley), 444 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Frank_Shieh, PBSeven, Hardi01, Giuseppe, AdamWu
18461 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: 735
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

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

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