[No] Better Texture Warping

Moderator: GZDoom Developers

Better Texture Warping

Postby Kazudra » Sat Feb 22, 2020 10:34 pm

Texture/flat Warping tends to break Mapping attached toward it (such as Normalmaps and Brightmaps).

It would be REALLY awesome if said mapping would also warp with the texture/flat keeping the effects instead of outright disabling them.
Kazudra
 
Joined: 25 May 2015

Re: Better Texture Warping

Postby Graf Zahl » Sun Feb 23, 2020 12:48 am

It's impossible to automate this. Depending on the texture the required math can be VERY different. You really shouldn't need this for anything else than flat surfaces representing a liquid.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Better Texture Warping

Postby Rachael » Sun Feb 23, 2020 2:45 am

What are you trying to accomplish?

The reason I ask is because the specifics of what you are asking is obviously very hard to surmount, and while we generally tend to discourage this, it might be better to brainstorm an alternative for what you are doing here, so I am thinking maybe we can be helpful and give you ideas instead. This ticket thread might be a last resort compared to the options available for what you're trying to do, but we'll never know that for sure unless we know what that really is.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Better Texture Warping

Postby Kazudra » Wed Feb 26, 2020 1:32 pm

I was trying to make brightmaps on a warping texture work, then it became obvious to me that no matter how you try to present it, you're just going lose those effects because of warp.
I did come up with a few creative solutions, to be fair having the textures aligned and all warp simultaneously does sound easy on paper, but it's probably a nightmare for shader stacking.
Kazudra
 
Joined: 25 May 2015


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests