TattieBoJangle Posted September 17, 2014 Share Posted September 17, 2014 Hi guys anyone having problems with lighting i have added 8 point lights and it is bogging down my system and making it impossible to use. Its ok if i am away from the lights or looking away it also does it if i place them on a blank map. Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
Josh Posted September 17, 2014 Share Posted September 17, 2014 In most cases, 8 point lights on a discrete card will be no problem. Intel graphics might struggle a bit. Performance will be a function of: What graphics card you have. How many lights are being updated. There is some info here on advanced light setup. You can greatly reduce the shadow polycount with these techniques: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitysetshadowmode-r826 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...
TattieBoJangle Posted September 17, 2014 Author Share Posted September 17, 2014 System specs as i feel my system should run this no problem also i get this on a blank map with no objects so no shadows. Processor Intel® Core™ i7-3820 CPU Video Card AMD Radeon R9 200 Series Total Memory 4.0GB Memory 32 GB Operating System Microsoft Windows 8 (build 9200), 64-bit Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
Josh Posted September 17, 2014 Share Posted September 17, 2014 I'd like to know the exact card. If it's a laptop with a mobile chip like this, then that makes sense: http://www.amd.com/en-us/products/graphics/notebook/r9-m200# 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...
TattieBoJangle Posted September 17, 2014 Author Share Posted September 17, 2014 Full tower PC and the card http://www.asus.com/Graphics_Cards/ROG_MATRIXR9280X3GD5/ Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
Josh Posted September 17, 2014 Share Posted September 17, 2014 This map has 8 point lights and I get 1000 FPS in release mode: lights.rar 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...
TattieBoJangle Posted September 17, 2014 Author Share Posted September 17, 2014 only getting 300+ not sure why and if i make a terrain with your map i get 100+ fps even without the lights a blank map just flat terain i don't get anywhere close to your fps. Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
Rick Posted September 17, 2014 Share Posted September 17, 2014 Just to clarify you are running in Release mode and not Debug mode? Sometimes that trips people up. Quote Link to comment Share on other sites More sharing options...
TattieBoJangle Posted September 17, 2014 Author Share Posted September 17, 2014 Yea Rick running in Release mode Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
TattieBoJangle Posted September 17, 2014 Author Share Posted September 17, 2014 With this blank map i get around 400fps test.zip Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
Josh Posted September 17, 2014 Share Posted September 17, 2014 The rendering speed with a single directional light is going to be about the same whether the scene is empty or not. With deferred rendering you get a different performance curve. Deferred rendering incurs a cost immediately, but it scales much better as the scene gets more complex. 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...
TattieBoJangle Posted September 17, 2014 Author Share Posted September 17, 2014 May i ask what card you are using to get 1000fps Josh as that's more than double what i get and my card is on the top end. Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
shadmar Posted September 17, 2014 Share Posted September 17, 2014 1000 on my laptop. gtx-770M Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Josh Posted September 17, 2014 Share Posted September 17, 2014 GEForce 480. Disable MSAA if you have it turned on. 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...
TattieBoJangle Posted September 17, 2014 Author Share Posted September 17, 2014 500fps with AA turned off shadmar 1000fps on a laptop WoW could this be a ati thing as i see you guys are using nvidia i did have a but with the terain sculpting due to my card. Quote Asus Extreme v x99, Intel I7, Windows 8.1 64 Bit, SSD, Geforce GTX 980 4GB, 16GB Ripjaw DDR4 Link to comment Share on other sites More sharing options...
tjheldna Posted September 18, 2014 Share Posted September 18, 2014 Hi Josh, I've been struggling with point lights too with my Mages game built in release. In my opening scene there are two point lights visible in the room and shadows on high my fps is barely scraping 30fps on my desktop and on my macbook pro which is around a year old it's less. As soon as I've moved out of range and visibility of the lights the fps shoots back up again. Also if I pan back around to the direction of the lights I get the chock factor too. My video card is getting a little dated but still decent, going by other games I've played it should be able to handle it no worries. I would be willing to let you take a look at my Mages project to see if there is anything you can find however I don't want the project public. Cheers Quote Link to comment Share on other sites More sharing options...
Josh Posted September 18, 2014 Share Posted September 18, 2014 Please read the info here: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitysetshadowmode-r826 This explains things in a lot of detail: http://www.leadwerks.com/werkspace/page/tutorials/_/legacy/indoor-lighting-optimization-r18 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...
tjheldna Posted September 18, 2014 Share Posted September 18, 2014 Thanks for that, tonight I'll go through my world and code to see what a difference this will make. I must admit I hadn't paid any attention to making entities static or dynamic for lighting. I'll let you know my results Quote 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.