WATER / WATER2 Shaders for Sprites?

Moderator: Graf Zahl

User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

WATER / WATER2 Shaders for Sprites?

Post by Tormentor667 »

Just an idea I had a few moments ago: What about the possibility to add the WATER / WATER2 shaders to sprites?
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

I could have sworn I've seen a boss monster someone made that had a sprite that used the Warp effect.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Sprites can be warped. But their size has to be a power of 2.
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

Post by Tormentor667 »

Graf Zahl wrote:Sprites can be warped. But their size has to be a power of 2.
Must? Or any chance to do something about it?!
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!

Post by wildweasel »

It's something to do with the way the warping algorithm works that makes it incompatible with non-power-of-two graphics. If I remember right, Graf once said that fixing this would be extremely difficult.

If you want to work around that, though, you could always pad some empty space onto your sprites so that they are perfectly square and follow the power-of-two standard.

Return to “Closed Feature Suggestions”