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!

Moderators: GZDoom Developers, Raze 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.
Post Reply
chebmaster
Posts: 5
Joined: Sun Jun 17, 2018 4:18 am

Halp! Brightmaps on scaled textures only work in Zandronum

Post by chebmaster »

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 all

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 all

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.
Post Reply

Return to “Assets (and other stuff)”