Attempting to reference a camera texture as a patch in another texture causes a crash. Below I've attached the wad with the effect I'm creating. If the camera texture is replaced with a static image, the effect works fine, but it's rather useless.
However, I can also imagine using this for other effects, like having a camera monitor + glow + frame as a single-piece texture.
Camera textures referenced in TEXTURES crashes
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Camera textures referenced in TEXTURES crashes
This will never work because it would require constant recomposition of the final texture. This is especially true when the camera texture is never read back into main memory, like with a hardware renderer, for example. It still shouldn't crash though.
The main problem here is that at the point when the TEXTURES lump is parsed it isn't known yet if you reference a camera texture so the best thing that could be done is to skip the offending patch.
The main problem here is that at the point when the TEXTURES lump is parsed it isn't known yet if you reference a camera texture so the best thing that could be done is to skip the offending patch.