r/computing • u/Stride_Almighty • Jan 15 '15
Direct x11 versus x12
http://www.littletinyfrogs.com/article/460524/DirectX_11_vs_DirectX_12_oversimplified0
Jan 15 '15
[deleted]
2
u/Fastolph Jan 15 '15 edited Jan 15 '15
I'm no expert, but it doesn't surprise me that much. Self-lighting objects may not be able to light others, and stuff like that.
Edit: As I said in a deeper comment, this is more likely what happens: http://fabiensanglard.net/doom3/renderer.php
1
u/sieabah Jan 15 '15
I'm just curious how they get a more than one light look then. How would anything with multiple lamps be rendered with their own light source?
1
u/Fastolph Jan 15 '15
Alright I was not clear at all. I was thinking of stuff like Neons or LEDs. They're lit by themselves, but won't cast light on other objects. Therefore they aren't light sources even tough they appear lit. Add a small bloom around it and it looks even better. And you can make a decent scene with a lot of these lights.
Pre-baking lightning should also be considered.
Or maybe I'm completely wrong, and there is multiple light sources visible, except they're actually computed one at a time. I suddenly remembered that article about the rendering process in Doom 3. That's more likely.
1
u/sieabah Jan 15 '15
Well self lighting objects are just an emissive texture, which do not light surrounding objects. You'd actually need a light source to do that. It is possible to have multiple lights in a scene they talk about that a lot with UE4.
When I say light I'm talking about a light entity that emits light. Not an object that looks lit by design. That's just a texture.
1
u/Fastolph Jan 16 '15
Yeah I think I spoke way to fast and you can just ignore everything I said except the link to the Doom 3 article. If I understand it correctly it basically says that everything is done with just one light at a time.
1
u/CrazedToCraze Jan 15 '15
Game development isn't my field, but I remember hearing the Source engine allows only one light source (which would have been the player's flashlight like the Half Life 2 games).
2
u/sieabah Jan 15 '15
Maybe an older source engine. Garrysmod allows you to make multiple light sources, how does the engine handle that without creating more lights?
1
u/billyalt Jan 18 '15
I'd believe it. In hindsight, a lot of UE games really don't have many lights. They had to create a fancy shader just to get McCandless/three-point lighting (spherical harmonic lighting) in Mass Effect 2/3. The Arkham games don't have hardly any light sources, either.
1
u/sieabah Jan 18 '15
Those are all UE3 games. Not many have been made with UE4, but I really do think there is more than four.
1
u/billyalt Jan 18 '15
They are UE3, I'm just saying I'm willing to believe UE4 can only have 4 light sources.
1
u/Isuress Jan 16 '15
That was a pleasant read. I had high hopes but this really grounds them. Can't wait.