Gamestudio Links
Zorro Links
Newest Posts
Z strategies
by Fuchs
Yesterday at 17:27
saturation/contrast on different resolution?
by Kartoffel
Yesterday at 13:37
vec_for_vertex gap issue
by Dooley
04/19/18 22:15
FPS Damage effect
by 3run
04/19/18 20:51
website-related suggestions for the webmaster
by Fuchs
04/19/18 19:03
Algorithm for Detrend=SHUFFLE
by kujo
04/19/18 15:24
Separate entry and exit parameters optimization
by kujo
04/19/18 13:27
AUM Magazine
Latest Screens
Forgotten Tales - Demo version
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Who's Online
12 registered (3run, AndrewAMD, PadMalcom, Sphin, Don_Diego, kujo, Fuchs, mk_1, brax, 1 invisible), 501 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
stuvwx608784, Joderin, Fuchs, Don_Diego, jetomas59
17937 Registered Users
Topic Options
Rate This Topic
#470047 - 12/20/17 17:37 Underwater caustics
3run Online
Senior Expert

Registered: 05/05/09
Posts: 5000
Loc: Caucasus
Hey!

I riped caustics from mystymood demo terrain shader, trying to implement it into the shader pipeline I'm currently using. I got it working for models (almost the same way as it works in mystymood), but trying to understand how to get it working for level blocks. Problem is, that it uses my->skill41-44, so I can't set them for level blocks.. Maybe using something like mtl.skill1-skill4 ?

As I'm not good in shaders, I got pretty messed up with those vecSkill5 etc... vecSkill.x, y, xy, w, z and other shit.

Thank you in advance.

_________________________
Looking for free stuff?? Take a look here: http://badcom.at.ua

Top
#470054 - 12/20/17 21:46 Re: Underwater caustics [Re: 3run]
3run Online
Senior Expert

Registered: 05/05/09
Posts: 5000
Loc: Caucasus
Got it working via vecSkill5 grin I'm not sure if I've done it correctly, but here is the result!
_________________________
Looking for free stuff?? Take a look here: http://badcom.at.ua

Top
#470055 - 12/20/17 22:12 Re: Underwater caustics [Re: 3run]
3run Online
Senior Expert

Registered: 05/05/09
Posts: 5000
Loc: Caucasus
Nahh.. it makes it darker... :<
_________________________
Looking for free stuff?? Take a look here: http://badcom.at.ua

Top


Moderator:  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net