Jump from A7 to A8 Animated Wad Textures

Posted By: HenWoll

Jump from A7 to A8 Animated Wad Textures - 02/27/18 11:33

I am only now noticed that this feature is no longer available in the a8.in the texture manager this is still visible but not in the project.

is there an alternative for that?
Posted By: Ezzett

Re: Jump from A7 to A8 Animated Wad Textures - 02/27/18 16:24

Doing it with the help of a shader is possible.

You can use the turbulence.fx effect, which is included in the code folder.

On Shadertoy you can find a fully implemented shader which does this liquid effect:
https://www.shadertoy.com/view/MsKXzD

You only need to translate the parts of the code you need from GLSL to HLSL.
Posted By: Superku

Re: Jump from A7 to A8 Animated Wad Textures - 02/27/18 16:52

For animated textures that consist of multiple frames you could either of course use sprites/ models instead, or manipulate the bitmap yourself:
Grab a pointer to the level texture with
bmap_for_texture(STRING* name),
then write into the texture using bmap_blit, bmap_process, panel.target_map or bmap_rendertarget and draw_quad or something like that. Whatever is more performant.

EDIT: Or just with a regular shader and pass your texture using the _bmap feature or entSkin1, if that works.
Posted By: Ayumi

Re: Jump from A7 to A8 Animated Wad Textures - 02/27/18 17:54



- no "Create Meshes" flag
- no texture flags

and it works

EDIT:
+0Name
+1Name
..animated textures are the same but just with no "Create Meshes" flag
© 2024 lite-C Forums