Gamestudio Links
Zorro Links
Newest Posts
Using ":L" & ":S" causes 2 possible bug(s) or is it bad coding?
by AndrewAMD
8 minutes 26 seconds ago
Help with Data import to T1
by OptimusPrime
Today at 19:44
How to ensamble multiple algos with advise calls?
by laz
Today at 18:53
Correlation -1.#IND00
by AndrewAMD
01/21/19 17:37
Basic thread safety question
by Superku
01/20/19 18:15
Blog Post: Get Historical Data from Darwinex REST API w/ Zorro
by AndrewAMD
01/19/19 22:19
Reseting a static variable - the next day
by OptimusPrime
01/19/19 19:48
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
12 registered (OptimusPrime, AndrewAMD, jacek, Dalla, kvm, Quad, Iglarion, ibne, misiek, 3 invisible), 489 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
jthbln, laz, ramonne, SibJac, Evael
18157 Registered Users
Topic Options
Rate This Topic
#470047 - 12/20/17 17:37 Underwater caustics
3run Offline
Senior Expert

Registered: 05/05/09
Posts: 5104
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 Offline
Senior Expert

Registered: 05/05/09
Posts: 5104
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 Offline
Senior Expert

Registered: 05/05/09
Posts: 5104
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 | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de