Page 1 of 1
scene_blend alpha_blend bug after updating to Ogre 14
Posted: Mon Sep 02, 2024 3:26 pm
by altren
I'm having fairly simple material with alpha_blend, and after updating from 13.6.5 to 14.0.0 (14.2.6 also have this issue) my rendering became different, it seems that more transparent geometry is rendered now.
Here's old and new rendering:


This fog of war is rendered with created geometry and two geometry layers with non-transparent and partially transparent textures (single geometry and single dds texture is used) and whenever those overlap aplha blending becomes off.
I'm using non-modified RTShaderLib from Ogre/Media, RTShaderSystem/OgreShaderGenerator, GL3Plus render system on MacOS.
Material:
Code: Select all
material FogBase
{
technique
{
pass
{
lighting off
depth_check off
depth_write off
scene_blend alpha_blend
texture_unit Tex
{
tex_address_mode clamp
texture AllFogs.dds 2d 1
tex_coord_set 0
}
}
}
}
Note: Terrain lost its shadows, and those are also rendered with scene_blend alpha_blend
Any ideas how to debug it further?
Re: scene_blend alpha_blend bug after updating to Ogre 14
Posted: Mon Sep 02, 2024 4:50 pm
by paroj
are you also using specific render queues? If so it might be this:
https://github.com/OGRECave/ogre/blob/m ... nder-queue
otherwise try inspecting the rendering with renderdoc, if you are using a compatible rendersystem.
Re: scene_blend alpha_blend bug after updating to Ogre 14
Posted: Mon Sep 02, 2024 8:26 pm
by altren
That was render queues, thank you. I moved the order a bit and everything is back to normal.
Re: scene_blend alpha_blend bug after updating to Ogre 14
Posted: Tue Sep 03, 2024 6:48 pm
by paroj
altren wrote: Mon Sep 02, 2024 8:26 pm
That was render queues, thank you. I moved the order a bit and everything is back to normal.
out of curiosity? Do you deploy your game to the web? And is it available somewhere?
Re: scene_blend alpha_blend bug after updating to Ogre 14
Posted: Sat Sep 07, 2024 12:28 am
by altren
You can try it there. http://tfw-webclient.s3.amazonaws.com/c ... Wilds.html
Registration is broken, but you can play as guest