Source Filmmaker
Lighting a model rendered with particle systems?
I've run into a problem while completing Zachariah Scott's wheat field tutorial and the model shadow tutorial but ran into a bit of a problem when I couldn't get the particle to react to lights, aside from generating shadows.

Here's what it looks like:
http://i.imgur.com/pw79Bnp.png
I'd like to know what I'm missing here.
Последно редактиран от Buffhunks; 6 авг. 2014 в 12:25
< >
Показване на 1-14 от 14 коментара
What's the shader used in the grass' material?
The one from the model shadow tutorial[dl.dropboxusercontent.com], if that's what you're referring to. I just started trying to get into the particle editor today.
I meant the actual material file for the grass model, But Zach seems to be using the same ones so that's probably not it...

Hm, he says the shadows don't work unless there's a regular model in the camera's frustum. There doesn't seem to be one in your screenshot, maybe that's what's causing this?
Последно редактиран от R234; 6 авг. 2014 в 15:19
The fence is a prop I placed, but I'll try placing a character in the scene.
http://i.imgur.com/val8eBp.png
Also Zach said that shadows would only work with a regular model in the frustrum. This problem is the grass not being lit. Also, thanks for your response.
make sure there are no other models hidden anywhere, like below the map floor.

also try raising the models higher. I forget which setting it is, but there is a setting that tells the models to be places on the floor and also how high off the floor.

another is try moving the camera. sometimes the angle can effect it as well.
check, check and check. Only the camera, light, a fence, a spy and the grass particle, all above the ground. Took the camera and moved it around the grass/light, no difference.
Would it be useful if I uploaded the grass.pcf I made (with the shadow-enabling material) and/or the .dmx of this?
Bump... Did anyone actually find a way to make this work? I have the exact same problem.
I also tried doing this a while back after watching Zachariah Scott's tutorials, but had the same issues.

However, if I placed a model in the viewport, sometimes the grass would light up, and my framerate would start tanking. The moment I moved the camera, SFM just straight up crashed.
This only happened twice, and all other attempts gave me the unreactive grass.

Since this has been happening to other people, I assume this is a problem with SFM itself.
I remember Zach saying that particle model lighting was broken by an update a while back.
it still worked for me as recently as two months ago. granted i wasn't using those particular models. but still.
Bump, did they actually ♥♥♥♥♥♥♥ break it? so basically model particles are unusable atm? does anyone by some miracle have an older build of SFM or something along those lines?
I tried to add grass using particle system, but the grass appears complete black in black void map, it fixed changing to other maps with natural lighting , other way, was add selfillum to the material that was used for the grass that you use in the particle system
< >
Показване на 1-14 от 14 коментара
На страница: 1530 50

Дата на публикуване: 6 авг. 2014 в 12:23
Публикации: 14