This is a group for all PC gamers from all gaming generations. From the time of PCs like the Comadore 64 to the modern PCs. By PC i don't mean just Windows, I mean them all like Mac and Linux.

Report article RSS Feed Modelling a Map

This is a tutorial/illustration about how to create a level out of prelighted models (it is NOT a general how-to-map&model-tutorial)

Posted by VaTTeRGeR on Aug 11th, 2012
Advanced Mapping/Technical.

I recently saw a video on youtube, showing a Map that mostly consisted of models with baked light and textures, only reflections and gamemechanics are truely done by source, the result is a stunning graphical quality!
(Search for: Using Vray with Source).

I wanted to try out this way of mapping and here's what i experienced and how i made it working.
Consider this tutorial as a list of tips/hints, it is for people who are experienced with mapping/modelling.

First Step:Modelling

I done the Modelling/Lighting in Blender and exported everything to Source with kHED.

-you need to create the complete visual geometry of your Level in your modelling program, so keep attention at scale and walkability.
-the Models need propper UV-maps, since we are going to bake high-detailed lightmaps as well as Diffuse textures.
-group the models and their UVmaps based on their size to keep the lighting-detail at a consistent level
-create reasonable collisionmeshes, not to detailed and not to undetailed
-don't forget to model lightsources

Second Step: Lighting the Scene

I baked the rendered lighting in Blender.

-set up the lighting as you want it to be in the map and bake it together with the diffuse-channel to an at least 2048*2048 sized texture
-too small-scaled and unconsistent UV maps end up in bad bake results
-only use texture/material/rendering technics that source supports or that are bakeable to the diffuse channel -> diffuse/bump/specular/AO/shadows. Shadows and AO will be baked to the diffuse channel and therefore won't be much different from what you see in your render before exporting.

Third Step: Exporting

I done that with kHED, since it gives you a good preview of your goemetry/diffusetexture

-Compressing the texures can reduce the quality of the baked light, so only do it for textures that won't look too bad with compression or to reduce the filesize
-try to group the geometry by material type and combine their uvmaps if the material effects are important. if not, group your geometry by more practical matters, like the size/cubemap-use.
-keep the model's positions after seperating them in your modelling program or they wont fit together well, in short: only use one origin for one map or room, depending on the size

Fourth Step: Mapping

It will differ from the normal workflow, since you have already created your lightmaps and your geometry.

1. Place your Models as static-models, adjust them so that they fit together, don't be too lazy to change and reimport your stuff until it looks good
2.Create an brush hull around your models, it should sit tight to give vvis some information on how to create the vis-leaves.(but don't let it intersect the model-geometry)
Choose a Simple texture/nodraw For your surrunding brushes and give them a veeeeery high lightmapscale since your not going to see them at all
3.Create an Lightbox to give your static-model an consistent, uniform and smooth white lighting which doesnt change the model's texture brightness and colour, you can compare mat_fullbright 0 and 1 to fine-tune your lightbox ;) make sure to not enable any kind of vertex lighting for your static geometry
4. Add lights/glows that simulate the lights used in your renderer, so that the physics-props, player models, and view-models are correctly lit and fit to the scene
5.Add cubemaps and all the other needed entitys, but dont let them intersect the physboxes of your "map-models" since they will fall through when placed into the physbox

Thanks for your attention, i hope this helped you to realise a "map made of models"

Greets VaTTeRGeR

Post comment Comments
Mrksmt9
Mrksmt9 Aug 12 2012, 4:31am says:

I saw a couple of videos too like that

Youtu.be

Youtu.be

I can't believe that all maps are like this now, especially games like L4D, seems more and more source has so much to offer but is never used to the potential.

+3 votes     reply to comment
Argoon
Argoon Aug 12 2012, 1:54pm says:

Why go to that trouble when the Source engine does essentially the same thing? And the baked light using the Source engine system supports normal mapping and other effects that a baked lightmap on a external tool can't.

+1 vote     reply to comment
VaTTeRGeR Author
VaTTeRGeR Aug 12 2012, 2:45pm replied:

hmm, it's more like trying get the detail to an maximum, playing around with the engine, nothing that will ever be really practical with the current source engine... Instead of going through this way of mapping, it's properbly easier to use a newer engine.
btw,i think you don't need to bake the normalmap to the diffuse, and source's model-lighting system only supports this type of high-quality lighting with projectedtexture-lights or alien swarms deferred light mod, but these are much more costly, inacurrate and buggy than this right now. you can also create much rounder and more detailed indoor environments, like lights and shelves being perfectly integrated into the walls without looking blocky and stuff.

+1 vote   reply to comment
lnwfifaza
lnwfifaza Aug 16 2012, 1:47pm says:

It's look great.

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Jun 23, 2010
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
Biohazard X: Source (Half-Life 2: Episode Two)
Biohazard X: Source Half-Life 2: Episode Two - Single Player First Person Shooter
Related Games
Half-Life 2: Episode Two
Half-Life 2: Episode Two Single & Multiplayer First Person Shooter
Related Groups
Achtung!
Achtung! Developer with 4 members
Blenderheads
Blenderheads Arts & Literature group with 500 members
Half Life 2 Mod Critics
Half Life 2 Mod Critics Other group with 15 members
Level Design Group
Level Design Group Hobbies & Interests group with 588 members
PC Gamers
PC Gamers Hardware & Tech group with 641 members
Source Developers Club
Source Developers Club Hobbies & Interests group with 110 members
Team Apocalypse
Team Apocalypse Developer & Publisher with 11 members