Jump to content

Source engine rendering in... UDK ?


Recommended Posts

Posted

I'm wondering if it's possible to get a rendering similar to the source engine in the UDK.

When I see screenshots like these : viewtopic.php?f=22&t=15882&view=unread#unread (or this http://www.littlelostpoly.co.uk/devblog/?p=628 )

I can't stop asking me if it's possible to get the same aspect of material and lighting. I love the source engine for this, because his lighting and materials are the most realistic I have ever seen.

For those who use the UDK, have you some tips for me ? :-D

Posted

Yeah, the HL2 and source materials are pretty beastly.

I don't see any reason why you couldn't get a similar lighting setup in the UDK, or any engine for that matter. The big difference I think isn't so much the lighting but the materials. Source games such as HL2 are extremely diffuse driven, where the obviousness of a normal map is extremely subtle. Compare that to games made with UE3, which are very normal and specular driven, you get that overly glossy/shinny/wet look.

Posted

Comes down to how you model, texture and light stuff really. I mean the look source has is quite unique to that engine but quite a few unreal games get away from the UT style that is sort of the default. Though I am sure there is a lot of custom code involved in some cases too.

Source also makes heavy use of brush work in its final levels where as unreal is much more mesh focused.

Posted

The key is understanding that the approach of the Epic artists is to make you think "OMFG HOW GRAPHICS IN GAMES WHUUU" while the approach of the Valve's artists is to make you think "oh I am now in a forest, oh I am now in a sewer." Like said by others the most obvious difference is more subtle specular and normal maps. However, that's not all! Textures tend to be lower resolution with details only where needed. This isn't just because of engine power, but also because having alot of detail is, in the end, UNrealistic because your eye filters most details out and having them on the screen just overwhelms your brain and (for me at least) makes your eyeballs itch. Another reason staring at screenshots is not a good way to judge the look of a scene ;)

Unfortuantely I don't think you'll be able to get the look at all in Unreal simply because Unreal's lighting model is, well, shitty. Tons of complex shaders, but the actual basic function of LIGHT just isn't implemented as well. At least, that's how it used to be, I don't know anything about this new lightmass business, but IIRC in the past unreal didn't support radiosity, GI, or final gathering, all of which the source engine uses while it's "being old and slow and outdated compiling lighting." So that brings up another point, don't use dynamic lights or heavy post process. Post process should generally be confined to levels and mild HSV used only to FIX oversaturation in particular color ranges

Posted

First of all, you can emulate the same image in basically every engine.

Now, especially with Unreal's Lightmass it gets easier to achieve lighting similar to Half-Life 2, as it does Radiosity and Prebaked Lighting in the same way the Valve Rad tools do. If you put the Half-Life 2 Materials into UDK (load the textures into a package, recreate the Material Setups in Unreal's material editor) and adjust the values accordingly it will look the same (given that you are not using fancy Postprocessing or weird lighting).

Obviously when it comes to props and geometry Half-Life 2 also doesn't have bevels on everything, which makes it look more lowpoly but on the other hand avoids the Gamey look of round edges which all of Epics games have and looks more defined in stead.

Posted

I find it generally quicker to achieve good results in Source because the vrad tool is pretty simple. Just set the sky and shadows color and the intensity of the light_environment and you are go. Now on Unreal you need to play with hundreds of variables until you are satisfied with the results. I remember spending at least 2 full weeks only tweaking the lightmass settings in my Sci-Fi scene (the interior one) until I got the result that I wanted :shock:

So basically stay away from exaggeration:

- Post process (unless used subtly) is a big no-no

- Keep high-frequency noise in your normal maps minimal

- Use glossiness maps to define your specular maps better

- Tone down SSAO until it's pretty subtle (like 0.3 or so)

- You can also add a postproccess chain to access the default postproccess values and crank up saturation a little bit. By default all UDK maps are desaturated by 20% if I recall correctly.

Another great feature in Source that you will never get in Unreal is the cubemaps thing. In Unreal you need to assign a cubemap to each material, so unless you create multiple instances of the same material you are restrained to only one cubemap for material. Just take a look at a game like Mass Effect, the cubemaps are pretty simple and generic!

I also could never get the HDR tone mapper to work in Unreal like it does in Source. Does anyone know if that's possible?

Posted

Thank you everybody !

---

I also could never get the HDR tone mapper to work in Unreal like it does in Source. Does anyone know if that's possible?

What do you call the tone mapper ? The HDR itself ?

I know it's possible to get the HDR in Unreal by ading HLSL and mathematics function in a post-process materials, but it's very hard to achieve it.

Here, a guy who have rebuild a full and personnal depth of field (and a lot of other effects) : http://forums.epicgames.com/showthread.php?t=743037

Posted

Wait, all UDK levels are desaturated by default? Can anyone confirm that? Can it be fixed in a script file or do you have to account for it on a per map basis?

Now, especially with Unreal's Lightmass it gets easier to achieve lighting similar to Half-Life 2, as it does Radiosity and Prebaked Lighting in the same way the Valve Rad tools do.

That's awesome! My reasons for standing my source are slowly slipping away

Posted

Unreal uses a level wide Postprocessing and can add additional Post Processing triggered in areas or over certain events. One important step in getting away from "teh unreal looks" is by using Postprocessing as you want and need it and not just leave the default values enabled. It's simmilar to every Source Map looking the same because everyone uses City17 assets, many Unreal levels look alike just because of the default Postprocessing (random DOF, Desaturation, Bloominess, etc.).

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...