dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
animated water texture (for mode 8)
Here's one that Bread Caster might be interested in!
The screen shot is showing four tiles of a seamless animated water surface texture.
This code could easily be extended to "bake" a water animation texture which could then be put into a mode8 fpg file.
It can be tweaked to vary the style too. for example raindrops of slightly choppy waters.
Don't let this image put you off. It's all about fluid movement which a still won't capture.
Just download it.
Attachment: water_tex01.PRG (3kB) This file has been downloaded 1495 times
[Edited on 15-12-2016 by dom cook]
|
|
MikeDX
|
|
This is very cool.
Good work Dom
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Thanks Mike.
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
This seems very cool! Like ripples.
So would it be possible to generate these in real time and map them to a sectors floor rather than store them in a .fpg? Im guessing so :p
~*~ Princess of Pies and Pastries ~*~
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Quote: Originally posted by BreadCaster |
So would it be possible to generate these in real time and map them to a sectors floor rather than store them in a .fpg? Im guessing so :p
|
You'd be the man to ask about that.
When I was tinkering about with Mode 8, it seemed to me that it wasn't willing to allow graphics loaded on the fly. (either for the objects or the
map textures) But if it can, then real time implementation should be easy enough. However it is computationally expensive so it would need to be
used with caution.
Here's a fun update in which you can use the mouse (left click to make some waves)
Attachment: water_tex01.PRG (3kB) This file has been downloaded 1455 times
|
|