YouGroove Posted February 28, 2015 Share Posted February 28, 2015 Hi, If particles would had that option we could choose it for a fast lightening approximation on their vertex polygons, it would look lot better for particles needing to be influenced by lithening and shadows. It would look approximatively like that 2 Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Olby Posted February 28, 2015 Share Posted February 28, 2015 Wouldn't that kill the performance? I imagine rendering shadow maps for each particle is a resource hog. Quote Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64) Link to comment Share on other sites More sharing options...
YouGroove Posted February 28, 2015 Author Share Posted February 28, 2015 We would have two options : -simple vertex lit and shadow lit on rectangular polygons,it's very lightweight. -per pixel lit and shadow more expensive indeed, it's up to you to see when to use it : main big smoke effects on a scene for example. If you have the option to switch the lightening in real time from pixel to vertex, you could also use some LOD for particles. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
shadmar Posted February 28, 2015 Share Posted February 28, 2015 I believe each particle is a billboard of 4 vertices, and they are rendered without depth, so that would not be possible?. Just create your own emitter using instanced boxes/spheres and they would follow the same rules as a normal entity. 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
YouGroove Posted February 28, 2015 Author Share Posted February 28, 2015 It's more workflow work around : you need to create a box with only one face having a texture of smoke for example, and other faces with full transparency texture ottherwise it will look strange. This don't works, the material applied to a wall accepts lightening, while applied to a particle emitter lightening has no effect on it. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Josh Posted March 8, 2015 Share Posted March 8, 2015 FYI, if you use the shade blend mode you will get a more natural particle appearance that blends into the scene better than self-illuminating stuff. 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...
Naughty Alien Posted March 9, 2015 Share Posted March 9, 2015 +1 what Josh said..blending would be best approach all around..eventually, you could extract from generated shadowmap, every point in the room and do a light visibility precomputed and stored in a volumetric data. This way you only need a simple texture lookup to determine the amount of light that hits the any dynamic geometry. On this way you get cheap and fast soft shadows for free over any form of dynamic geometry, including particle, of course, provided that you do not move or manipulate light, otherwise you have to recompute volume again.. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 9, 2015 Share Posted March 9, 2015 And there's the problem the volume would consume a lot of memory and only work for a small area. So if you put a lot of effort in you could set up a special effect for one little area, but I tend to not like "fake" effects that require special setup like that. 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...
Naughty Alien Posted March 9, 2015 Share Posted March 9, 2015 ..well..i was pointing on small area, which would be related to particular effect..some sort of sampling should be utilized as well, to scale down amount of volume data stored in case larger area is needed to be covered, so lighting result will not be 100% accurate but it will be good enough and fast enough... Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 9, 2015 Author Share Posted March 9, 2015 FYI, if you use the shade blend mode Because it is bugged Quote Stop toying and make games Link to comment Share on other sites More sharing options...
YouGroove Posted March 15, 2015 Author Share Posted March 15, 2015 It's a fail, using Shade mode and the particles just don't react to lightening, no difference like with alpha based particles. Until LE3 gets advanced particle systems, i htink we can just forget it 1 Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Josh Posted March 15, 2015 Share Posted March 15, 2015 The problem there is your particles are pure black, so they just darken everything to black. If they were lighter they would have a less extreme effect and you would see some variation. 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...
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.