|
created Unreal - Transparent object blocking others
on 11-19-2006 12:21 AM
Hey, I don't know if this is the best place to ask, but does anyone here know how to fix it in unreal (2) is having a problem where an object with a alpha transparency is blocking other static meshes behind it from being rendered?
I think it's an problem with render priority or sorting, but I'll be damned if I can figure out how to fix it.
If anyone could help that'd be great.
Thanks.
Game & Level Designer
|
, card carrying polycounter,
2,127 Posts,
Join Date Nov 2004,
Location Vancouver, BC
|
created Re: Unreal - Transparent object blocking others
on 11-19-2006 02:21 AM
If its not already set try making the material the object uses a final blend with its blend mode set to FB_Alphablend.
Its likely defaulting to overwrite, and might be the cause of blocking the objects behind it.
|
, dedicated polycounter,
1,573 Posts,
Join Date Oct 2004,
Location San Francisco, CA
|
created Re: Unreal - Transparent object blocking others
on 11-20-2006 12:44 PM
Hey, thanks for the suggestion. I gave it a try and it didn't seem to do it. [img]/images/graemlins/frown.gif[/img]
Any other ideas?
Game & Level Designer
|
, card carrying polycounter,
2,127 Posts,
Join Date Nov 2004,
Location Vancouver, BC
|
created Re: Unreal - Transparent object blocking others
on 11-21-2006 05:29 PM
is alphatest checked in your final blend?
or you might need to use masked alpha instead of alpha blending.
you might check out udn, my memory is fading on unreal2 stuff
http://udn.epicgames.com/Main/WebHome
|
, spline,
218 Posts,
Join Date Nov 2005,
Location Austin, TX
|
created Re: Unreal - Transparent object blocking others
on 11-25-2006 03:45 AM
and or, would it be possible to send the offending texture package to me so I can actually test it in ued? It would be much more effective than blind speculation. [img]/images/graemlins/smile.gif[/img]
vailias at gmail dot com if you choose to send it.
|
, dedicated polycounter,
1,573 Posts,
Join Date Oct 2004,
Location San Francisco, CA
|
created Re: Unreal - Transparent object blocking others
on 11-25-2006 03:53 AM
Well it is optimization thingy i think, the engine will not render polys that are fully behind other objects.
|
, dedicated polycounter,
1,373 Posts,
Join Date Oct 2004,
Location Tallinn, Estonia
|
created Re: Unreal - Transparent object blocking others
on 11-25-2006 10:48 AM
Thanks for all the help guys. [img]/images/graemlins/laugh.gif[/img]
I just got it working. I had to turn off ZWrite in final blend.
Works perfectly now. [img]/images/graemlins/smile.gif[/img]
Thanks again.
Game & Level Designer
|
, card carrying polycounter,
2,127 Posts,
Join Date Nov 2004,
Location Vancouver, BC
|
created Re: Unreal - Transparent object blocking others
on 12-03-2006 11:16 AM
I got a similiar ut ed problem right now. I've imported a table, the top of it will be glass so it has an alpha channel. UT is optimizing out tris on the bottom half, which flicker from being drawn to not being drawn depending on your viewing angle.
I haven't set up any antiportals yet, so it's not that. My understanding was that UT only works on a per triangle basis with BSP geometry, and should be optimizing on a per-mesh basis for static meshes. I couldn't find anything that helped in the static mesh browser options, or in the properties for this instance of the static mesh. Any ideas would be helpful, and don't mind the placeholder textures :P
|
, triangle,
332 Posts,
Join Date May 2006,
Location Vancouver
|
created Re: Unreal - Transparent object blocking others
on 12-03-2006 03:27 PM
penzer. The lod process for imported meshes works by smoothing group borders, and or uv seams, so you'll get culling at the breaks in the uv map first. ALSO if you have unwelded verts it will often lead to holes at the polygon with the separate verts. ITs logically the same as a uv seam to the LOD system.
The only other thing that leads to this sort of look is if you have imported a non triangulated mesh, but the results from that are usually much worse.
Double check the vert issues first, and if they are fine, consider splitting your mesh into 2 parts, one for the top glass and one for the base, and see if the problem sorts itself out.
|
, dedicated polycounter,
1,573 Posts,
Join Date Oct 2004,
Location San Francisco, CA
|
created Re: Unreal - Transparent object blocking others
on 12-03-2006 04:15 PM
Mesh is triangulated, verts are welded. I'm at school now, so I'll double check the smoothing groups when I get home. I'll post if it worked or not later tonight, thanks
|
, triangle,
332 Posts,
Join Date May 2006,
Location Vancouver
|
created Re: Unreal - Transparent object blocking others
on 12-03-2006 10:43 PM
Back at home now, tried re-importing it again. Double checked the smoothing groups, didn't fix it. I'll run it by a friend tomorrow, see if theres an option I can turn on or anything to fix it. If not, I'll split it into pieces. Thank you
|
, triangle,
332 Posts,
Join Date May 2006,
Location Vancouver
|
created Re: Unreal - Transparent object blocking others
on 12-04-2006 12:57 AM
Did you read how I solved mine and try it?
Also, are the faces there before you add the material? I'm assuming so. If they are then making the material a Final Blend and turning zWrite to false should fix it right up.
If you need help with any of it just ask at school.
Game & Level Designer
|
, card carrying polycounter,
2,127 Posts,
Join Date Nov 2004,
Location Vancouver, BC
|
created Re: Unreal - Transparent object blocking others
on 12-04-2006 07:57 PM
Ya I tried that when I read what worke for you, but it didn't work for me. The problem you were having was that it was optimizing out other meshes being blocked by it. Mine, as far as I can tell, is that tris within the model are being optimized out. That doesn't make any sense, because Unreal is supposed to optimize static meshes on a per-mesh basis and only bsp's on a per triangle basis.
I talked to Mark, he said it might be problems with Alpha sorting. Looking into that now
|
, triangle,
332 Posts,
Join Date May 2006,
Location Vancouver
|
created Re: Unreal - Transparent object blocking others
on 12-06-2006 04:38 AM
I like the unreal 3 solution... rip lit transparencies out of the engine entirely [img]/images/graemlins/wink.gif[/img] -yeah yeah, I know.
|
, triangle,
325 Posts,
Join Date Jan 2005,
Location Sydney, Australia
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Copyright 1998-2012 A. Risch
|