Taste It... It's Technical
Moderators: Master_Kale, TNM Team
Taste It... It's Technical
... by cade
Last edited by Dazza on Sat Jan 21, 2006 12:24 pm, edited 1 time in total.
Eh, nice, but... how is it done? Did you somehow modify the Unreal lighting (in which case I'll be very interested) or did you just copy that stuff into another engine, such as Unreal 2 (in which case I will merely be slightly amused)?
Jonas Wæver
Chief Poking Manager of TNM
I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
Chief Poking Manager of TNM
I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
The shadow map resolution was 128px. If you want smooth shadows, and have a ps.3.0 capable card... http://aura-blue.com/cade/agrdx_softsha ... ghting.jpg
Edit: Think the shadows are jaggy? Lets see you try
The shadow map resolution still is 128px, but now it has PCF and prioritizes itself based on z-depth, so it isnt jaggy anymore. It isnt as good as the link I posted (unless you have a ps.3.0 capable card), but it's not aliased.
How did I do it? Im writing my own renderer for DXA (Dazza can confirm it's me;) )
If we go along with DXA, I will write my own "engine" to play Deus Ex, including this renderer.
Renderer features include (but are not shown in the screenshots)
-Parallax mapping (displacement mapping)
-Gloss (shiny...) mapping
-Bump mapping
-Surface self-shadowing
-Perpixel lighting
-Shadow mapping
And I am not using the BSP for rendering anymore, I am only using it for physics. All lighting is realtime. Geometry can be much more complex now, as BSP holes are no longer a problem.
So yes, expect DXA to be different from every DX mod in existance.Granted, it won't run from DeusEx.exe but Deus Ex will still need to be installed in order to play it as the engine is linked with Deus Ex's engine.
And no, this is not Unreal or Unreal 2. It is my own renderer with Deus Ex's data files stuffed into it, it's sort-of a different engine.
Edit: Think the shadows are jaggy? Lets see you try
The shadow map resolution still is 128px, but now it has PCF and prioritizes itself based on z-depth, so it isnt jaggy anymore. It isnt as good as the link I posted (unless you have a ps.3.0 capable card), but it's not aliased.
How did I do it? Im writing my own renderer for DXA (Dazza can confirm it's me;) )
If we go along with DXA, I will write my own "engine" to play Deus Ex, including this renderer.
Renderer features include (but are not shown in the screenshots)
-Parallax mapping (displacement mapping)
-Gloss (shiny...) mapping
-Bump mapping
-Surface self-shadowing
-Perpixel lighting
-Shadow mapping
And I am not using the BSP for rendering anymore, I am only using it for physics. All lighting is realtime. Geometry can be much more complex now, as BSP holes are no longer a problem.
So yes, expect DXA to be different from every DX mod in existance.Granted, it won't run from DeusEx.exe but Deus Ex will still need to be installed in order to play it as the engine is linked with Deus Ex's engine.
And no, this is not Unreal or Unreal 2. It is my own renderer with Deus Ex's data files stuffed into it, it's sort-of a different engine.
i don't want to offend but this blur doesn't look good. it blurs over the corner of objects making them shadowed in penumbra although they should not be . it looks like somebody went rampage with the GIMP blur filter ( although it's PS made ). nevertheless it's good with the engine restrictions in mind you have to cope with.CadeF wrote:The shadow map resolution was 128px. If you want smooth shadows, and have a ps.3.0 capable card... http://aura-blue.com/cade/agrdx_softsha ... ghting.jpg
... don't know exactly how much the dx-engine supports custom data in renderers but otherwise bumping resolution is the common first-try on jagging. but in general this is a defect of shadow-mapping you can only 'fake' away as good as possible with higher resolution.Edit: Think the shadows are jaggy? Lets see you try
PCF? that term i did not come across yet (maybe the german counterpart of it).but now it has PCF
Trestkon - Thanks. Ion Storm forums, I did some coding projects including a content viewer for DX: IW and a .ini editor for T3. If Rebirth is the texturing project, I didn't do any textures for it.
Phasmatis: I can only interpret maps and textures right now. UScript will be decompiled from .u and parsed. It can be done, I've seen someone do it. Also, if a map/resource is "decompile-protected", my engine can't load it. It will work with every mod. But some things, like changing the player's model or conversations, will not. Changing the player's model will be in a config file, and conversations must load in the uncompiled .con made in conEdit.
Dragon - Bumping the res would also increase the vram requriements for each level. It is recommended (in GPU Gems), to use a 256px shadow map for a moving light source (as it must create a new shadow map each frame) and 512px shadow map for larger lights that move less (they can move, it's just that when they move, they require 4x fillrate to fill the shadow map). PCF stands for percentage-closer filtering. If you think it is too blurry, then I won't use a post-processing blur on the shadow map, only PCF.
Phasmatis: I can only interpret maps and textures right now. UScript will be decompiled from .u and parsed. It can be done, I've seen someone do it. Also, if a map/resource is "decompile-protected", my engine can't load it. It will work with every mod. But some things, like changing the player's model or conversations, will not. Changing the player's model will be in a config file, and conversations must load in the uncompiled .con made in conEdit.
Dragon - Bumping the res would also increase the vram requriements for each level. It is recommended (in GPU Gems), to use a 256px shadow map for a moving light source (as it must create a new shadow map each frame) and 512px shadow map for larger lights that move less (they can move, it's just that when they move, they require 4x fillrate to fill the shadow map). PCF stands for percentage-closer filtering. If you think it is too blurry, then I won't use a post-processing blur on the shadow map, only PCF.
yes it does... but now you can choice if you prefer fill-rate wasted on filling a texture (shadow-map) or a stencil-buffer (shadow-volume). both have their pros and cons.CadeF wrote:Bumping the res would also increase the vram requriements for each level. It is recommended (in GPU Gems), to use a 256px shadow map for a moving light source (as it must create a new shadow map each frame) and 512px shadow map for larger lights that move less (they can move, it's just that when they move, they require 4x fillrate to fill the shadow map).
yeah i would definitly leave the post-bluring out (kinda DXIW bloom effect anyways) or make it optionable (which would be the best in my opinion). better less blur but more correct i would say.PCF stands for percentage-closer filtering. If you think it is too blurry, then I won't use a post-processing blur on the shadow map, only PCF.
Shadow volumes don't work efficiently with flat geometry (example, one triangle) and do not support proper shadows off alpha testing.
Lets say I have a polygon, a window. The window's texture has 4 lines, the rest is transparent (pink). A shadow volume would cast a flat box shadow. Shadow mapping would not store the transparent region in it's depth buffer, so it would render correctly.
Lets say I have a polygon, a window. The window's texture has 4 lines, the rest is transparent (pink). A shadow volume would cast a flat box shadow. Shadow mapping would not store the transparent region in it's depth buffer, so it would render correctly.
In Danish, we say the choice between the plague or cholera.
Jonas Wæver
Chief Poking Manager of TNM
I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
Chief Poking Manager of TNM
I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine