Einlander Posted October 23, 2014 Share Posted October 23, 2014 When using the glass material, I assume Leadwerks continues to cull the objects behind the object. This leads to views where most of your level is simply missing. This does not happen in the editor. I have a map uploaded to demonstrate the bug. When you load the map in the editor you will see there are 3 colored boxes at the end of a path. When you start the map BEFORE you start to move, you will only see the blue box. Walk backwards and all the boxes appear. Walk back up to the glass. Strafe left or right. As you get to the edge of the glass the box in that direction appears. You can also make it happen by standing close to the glass and looking left or right. Also is there way in lua to simply disable culling totally in the game? I have other issues with the way Leadwerks culls objects. If not, can I designate an object as something that should not be put in the culling list? trasnparency_bug.zip Quote Link to comment Share on other sites More sharing options...
macklebee Posted October 23, 2014 Share Posted October 23, 2014 I can see all three no matter what I do - dont move, strafe left and right, walk forward and backward...makes no difference Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Einlander Posted October 23, 2014 Author Share Posted October 23, 2014 Hmmm, thats odd.I'll see if i can try it from another computer. Here is a video of whats happening. I have 2 AMD Radeon R9 270X 1GB in crossfire mode. on Windows 7 64 Quote Link to comment Share on other sites More sharing options...
Admin Posted October 30, 2014 Share Posted October 30, 2014 Never seen this before, and I have no idea how it could be happening. It looks like occlusion culling is producing wrong results. Quote Link to comment Share on other sites More sharing options...
Einlander Posted October 30, 2014 Author Share Posted October 30, 2014 I have not been able to test it with an nvidia card yet. I don't have my Linux box setup to run leadwerks and I have to install msvc++ runtimes on my tablets so I can test it on intel/powervr gfx. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 3, 2014 Share Posted November 3, 2014 I can guarantee you this is a driver error. The driver is performing the occlusion test without taking discard into account, or the discard is somehow still writing a depth value. AMD is really dropping the ball lately. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Einlander Posted November 3, 2014 Author Share Posted November 3, 2014 What version of catalyst are you using? I have uninstalled the drivers from AMD and I'm currently using the Windows update version but I'm still having issues. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 3, 2014 Share Posted November 3, 2014 I meant it works fine on my Nvidia card...the AMD 290 produces the error. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Einlander Posted November 3, 2014 Author Share Posted November 3, 2014 Oh, thanks. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 3, 2014 Share Posted November 3, 2014 Reported to AMD here: http://devgurus.amd.com/message/1306568#1306568 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
xtom Posted January 6, 2015 Share Posted January 6, 2015 Darn, I just noticed I have this problem too. I'm on an AMD APU and I updated to the 14.9 drivers to see if it would fix it but it hasn't. Edit: I got glass working better by changing the material settings as per below. Not sure if I messed with these settings earlier but now objects behind the glass are no longer disappearing, Quote Check out my games: One More Day / Halloween Pumpkin Run Link to comment Share on other sites More sharing options...
TheSilentBoo Posted January 9, 2015 Share Posted January 9, 2015 Hey xtom! Thanks for the help, I can see through the window now However now the window frame is glowing... Any ideas? Cheers! Edit: Whoops I managed to get mixed up between tabs :S This was meant for another thread on the same subject sorry :/ Any admin, please feel free to delete I don't see the button to do so Quote Operating System: Windows 8.1 (64-bit, 8GB RAM) Processor: Intel® Core™ i7-3740QM CPU @ 2.70GHz 2.70GHz Graphics Card: AMD Radeon HD 7970M Link to comment Share on other sites More sharing options...
gamecreator Posted January 9, 2015 Share Posted January 9, 2015 If you edited your post after you posted, the delete button should be right next to that edit button. Quote Link to comment Share on other sites More sharing options...
zippymccrackin Posted February 7, 2015 Share Posted February 7, 2015 When I apply this shader to a material and apply the transparent material to a block, it doesn't show any models, but it does still show the shadows of the models. In the engine, it shows transparent fine. Screenshot: Left is in-game, right is in the engine. Using the flashlight does have a neat little ghostly effect though haha Quote Link to comment Share on other sites More sharing options...
Einlander Posted February 7, 2015 Author Share Posted February 7, 2015 I assume you are using an ati graphics card? http://www.leadwerks.com/werkspace/topic/10986-transparency-bug/ Quote Link to comment Share on other sites More sharing options...
Josh Posted February 7, 2015 Share Posted February 7, 2015 Since no map file is provided I cannot investigate this. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted February 7, 2015 Share Posted February 7, 2015 Ah, I see this is actually another manifestation of the same problem. I need to report this to AMD. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
zippymccrackin Posted February 8, 2015 Share Posted February 8, 2015 Yeah seems like it, I tested the map presented and I'm having the same issue. The workaround posted does indeed workaround it. Gfx card is AMD Radeon HD 8470. It's OEM and have been debating on replacing it anyways. With all the reported AMD issues I think I may do so. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 9, 2015 Share Posted February 9, 2015 That's not a good solution though, because you lose lighting on the transparent material, which defeats the whole purpose of the effect. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.