Halp! Brightmaps on scaled textures only work in Zandronum

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!
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.

Halp! Brightmaps on scaled textures only work in Zandronum

Postby chebmaster » Thu Oct 25, 2018 2:04 am

Could someone please point it to me, why scaled brightmap works in Zandronum but not in GZDoom:
What am I doing wrong?

textures:
Code: Select allExpand view
texture STAINGL2, 128, 2048 {
   XScale 0.5
   YScale 0.5   
   Patch STAINGL1, 0, 0
}
texture STAINGL4, 512, 512 {
   XScale 0.5
   YScale 0.5   
   Patch STAINGL3, 0, 0
}


gldefs:
Code: Select allExpand view
brightmap texture STAINGL2
{
   map "brightmaps/STAINGL1.png"
}
brightmap texture STAINGL4
{
   map "brightmaps/STAINGL3.png"
}


I tried making the brightmap into a similarly scaled texture and referring to it in the "map" parameter but that did not work either.

Using 1:1 scale is not an option: they are too too gargantuan.
chebmaster
 
Joined: 17 Jun 2018
Discord: 9189

Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 1 guest