Gamestudio Links
Zorro Links
Newest Posts
Conversion to Easylanguage, pls
by jcl
Today at 08:41
Error with data - EURUSD
by jcl
Today at 08:38
Game Maker Terrain editor 2 (GMTE2) to GST terrain (MED)
by NeoDumont
Today at 01:13
pp pixelation with proper blurring
by 3run
Yesterday at 21:08
extern static array of structs
by sdh309795gaas
Yesterday at 20:33
Cyrpto currency arbitrage
by Sphin
Yesterday at 19:22
Experienced 2D|3D Character artist|Concept Artist@ Indie Prices|
by DeathstalkerArs
Yesterday at 18:40
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
14 registered (20BN, Dico, 3run, Iglarion, Kartoffel, jyd, Dalla, Matt_Aufderheide, jenGs, 1 invisible), 135 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
lizmerrill, QuangDalat, davefollmers, abcdef656188, luisd
17871 Registered Users
Topic Options
Rate This Topic
#470047 - 12/20/17 17:37 Underwater caustics
3run Online
Expert

Registered: 05/05/09
Posts: 4960
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
Expert

Registered: 05/05/09
Posts: 4960
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
Expert

Registered: 05/05/09
Posts: 4960
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