Gamestudio Links
Zorro Links
Newest Posts
Series within loop
by Spirit
Today at 03:38
ein Truetype wie ein Bitmap Font laden?
by tagimbul
Yesterday at 21:46
'you' and c_scan
by 3run
Yesterday at 17:24
rayp's old school fast zombie FPS project
by 3run
Yesterday at 11:01
No Trades Using Workshop 6
by peterhw
Yesterday at 10:59
Actual PIP Cost for backtesting
by tradingest
10/14/18 16:36
Rigid Force Alpha - Classic side-scrolling shoot'em up
by Turrican
10/14/18 11:44
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
5 registered (kvm, Ayumi, jenGs, PSA, jumpman), 463 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
BazGen, pallab1964, wOrlD21, peterhw, 7th_zorro
18076 Registered Users
Topic Options
Rate This Topic
#470047 - 12/20/17 17:37 Underwater caustics
3run Offline
Senior Expert

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