Source Filmmaker

Source Filmmaker

How to fix parts of models being transparent without turning off AO
I have F13 models that I have ported from GMod, and some of them have parts that are transparent (For example, Jenny's hair is transparent). I know how to fix a model if it's entirely seethrough, but I don't know if it's only certain parts of the model. I have tried doing the same fix if it was an entire model, and that hasn't worked. I also know I can turn off AO, but I would like keeping on AO. If anyone has an idea has an idea how to fix this, please tell me.

Here's the example I was talking about: https://i.imgur.com/DzyGrMl.png
< >
Showing 1-6 of 6 comments
Marco Skoll May 12, 2018 @ 11:49pm 
Add ...

$ambientocclusion 0

... to the relevant material's VMT.

This will force off AO for just that material. (And it is necessary, translucent materials in SFM can't correctly display AO no matter what you do).
Last edited by Marco Skoll; May 12, 2018 @ 11:51pm
Pte Jack May 13, 2018 @ 12:37am 
If you truly want to repair that model... this is the actual fix.

https://steamcommunity.com/sharedfiles/filedetails/?id=1368443207
Zappy May 13, 2018 @ 12:52am 
Originally posted by Pte Jack:
If you truly want to repair that model... this is the actual fix. -Guide-
Not really. Transparent materials will still be considered transparent, and Source Filmmaker doesn't handle ambient occlusion well/at all with transparent materials, regardless of whether a model uses $MostlyOpaque or not. And using $Opaque to make a transparent material be considered opaque will make ambient occlusion look wrong behind transparent parts of transparent materials.

For transparent materials, ambient occlusion should simply not be used. And the hair definitely looks like it uses $AlphaTest, making the material transparent.
Pesic May 13, 2018 @ 5:21am 
Originally posted by Sprayable Spaghetti™ Salesman:
I have F13 models that I have ported from GMod, and some of them have parts that are transparent (For example, Jenny's hair is transparent). I know how to fix a model if it's entirely seethrough, but I don't know if it's only certain parts of the model. I have tried doing the same fix if it was an entire model, and that hasn't worked. I also know I can turn off AO, but I would like keeping on AO. If anyone has an idea has an idea how to fix this, please tell me.

Here's the example I was talking about: https://i.imgur.com/DzyGrMl.png
Pesic May 13, 2018 @ 5:21am 
Originally posted by Marco Skoll:
Add ...

$ambientocclusion 0

... to the relevant material's VMT.

This will force off AO for just that material. (And it is necessary, translucent materials in SFM can't correctly display AO no matter what you do).
Pesic May 13, 2018 @ 5:21am 
Originally posted by Zappy:
Originally posted by Pte Jack:
If you truly want to repair that model... this is the actual fix. -Guide-
Not really. Transparent materials will still be considered transparent, and Source Filmmaker doesn't handle ambient occlusion well/at all with transparent materials, regardless of whether a model uses $MostlyOpaque or not. And using $Opaque to make a transparent material be considered opaque will make ambient occlusion look wrong behind transparent parts of transparent materials.

For transparent materials, ambient occlusion should simply not be used. And the hair definitely looks like it uses $AlphaTest, making the material transparent.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: May 12, 2018 @ 11:30pm
Posts: 6