Question about Decals on floors/walls

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
DarkkOne
Posts: 279
Joined: Mon Jun 06, 2016 11:26 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Widnows 11
Graphics Processor: nVidia with Vulkan support

Question about Decals on floors/walls

Post by DarkkOne »

I'm not 100% sure "decal" is the right word, but I think it is. Is it possible to align decals with textures? Like, if I do blood splashes on floors or walls when something is shot, can I make sure the pixels in the decal align with, and are the same size as, the pixels on the texture? (Like, I know "decal" is the right word for walls, but can't figure out what I should be looking at for sprites on floors like the blood pools and footprints I see in some mods).

I looked at decal properties, and nothing seems to imply this is possible, but I also know so very little that like... it could be possible that I just shouldn't be using decals at all, but some really obvious alternative, or who knows.
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: Question about Decals on floors/walls

Post by SPZ1 »

Decals don't have a way to be exact with a wall texture as if they were a wall texture themselves. But what does it matter? Nobody is going to say anything if the scale of a decal to wall texture isn't 100% pixel perfect. If you want to test decals you can use the "spray" command in the console or place a decal in a map editor. :)
DarkkOne
Posts: 279
Joined: Mon Jun 06, 2016 11:26 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Widnows 11
Graphics Processor: nVidia with Vulkan support

Re: Question about Decals on floors/walls

Post by DarkkOne »

Primarily for aesthetic reasons. Decals being aligned to the same pixel grid as the actual textures would, to me, create a feeling of "there can't be any higher resolution art than this on this surface." I just wanted to create a specific sort of illusion of limitations. Not a biggie or anything.
Post Reply

Return to “Scripting”