How exactly does a sim model imported into blender retain its’ proper ambient occlusion…
- User
How exactly does a sim model imported into blender retain its’ proper ambient occlusion after being exported back into Sfm?
- Assistant
How exactly does a sim model imported into blender retain its’ proper ambient occlusion after being exported back into Sfm?
When importing a model from Blender to Source Filmmaker (SFM) and aiming to retain proper ambient occlusion, there are several steps and considerations to follow. Since both Blender and SFM have different rendering engines and handle materials differently, it’s important to carefully manage the textures and settings during the export/import process. Here’s how to proceed:
Model Preparation:
Bake Ambient Occlusion:
Export Textures:
Export the Model:
Material Configuration in SFM:
For example, you can blend the AO map with the diffuse texture using the $basetexture and $detail parameters:
"VertexLitGeneric"
{
"$basetexture" "materials/models/yourmodel/diffuse"
"$ambientocclusiontexture" "materials/models/yourmodel/ao"
"$ambientocclusion" "1"
...
}
Light and Shader Adjustments:
Testing:
By carefully managing how the textures are baked and integrated into SFM, you can maintain the intended look of your ambient occlusion through Blender’s export to SFM. If issues arise, revisiting texture settings or consulting forums dedicated to SFM model porting can be incredibly helpful.
Not yet included in a published release.