Hi all,
I'm looking to make stencil shadow work for my tracks objects & I'm frustrated right now, cuz I can't find the info anymore. My actual car runs OK with it, so I have a shadow.dof with use_shaders=1.
So what I've done for the track objects :
- racer.ini was modified to enable SS
- in geometry.ini of my track (Lil Lake), I added the shadows tree as follow :
- in track.shd, I added my shadow material (just one as Ruud recommends) :
I've also executed a boolean op on the shadow object, so I have 1 object & 1 material only.
No matter what I try, I can't see them !
The shadows.dds is a simple black tex without any alpha for sure.
I checked my material name, so that's OK too.
2 questions already somewhere answered :
Is 'my_track_ads_1_shadows' correct ? Could I choose another name or does it depend on the dof file name ?
Why in car.ini, you use a different structure to output car shadows, with use_shaders=1 in the graphics tree ? I tried that same for geometry.ini ?
Until now, I never managed to see my track fully 'stencil shadowed' which could be useful for lower systems once I'll release my update.
Some help to make them work definitely would be appreciated !
P.S.: Since I see my car stencil shadow with the actual settings, I'm deducting somewhere something's wrong...
Thx
I'm looking to make stencil shadow work for my tracks objects & I'm frustrated right now, cuz I can't find the info anymore. My actual car runs OK with it, so I have a shadow.dof with use_shaders=1.
So what I've done for the track objects :
- racer.ini was modified to enable SS
- in geometry.ini of my track (Lil Lake), I added the shadows tree as follow :
Code:
shadows
{
my_track_ads_1_shadows
{
file=my_track_ads_1_shadows.dof
extrude=100.0
}
}
Code:
shader_shadow~vf_standard
{
layer0
{
map=shadows.dds
}
}
No matter what I try, I can't see them !
The shadows.dds is a simple black tex without any alpha for sure.
I checked my material name, so that's OK too.
2 questions already somewhere answered :
Is 'my_track_ads_1_shadows' correct ? Could I choose another name or does it depend on the dof file name ?
Why in car.ini, you use a different structure to output car shadows, with use_shaders=1 in the graphics tree ? I tried that same for geometry.ini ?
Until now, I never managed to see my track fully 'stencil shadowed' which could be useful for lower systems once I'll release my update.
Some help to make them work definitely would be appreciated !
P.S.: Since I see my car stencil shadow with the actual settings, I'm deducting somewhere something's wrong...
Thx