Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Pages: 1
I would like to simulate the shadow of the animal on the paper, could give me a hint how I do it?
Offline
Hi !
create a file transShadow.material containing this
material TransShadow
{
receive_shadows on
transparency_casts_shadows on
technique TransShadowTech
{
pass TransShadowTex
{
ambient 0.698039 0.698039 0.698039 0
diffuse 0.698039 0.698039 0.698039 0
specular 0.898039 0.898039 0.898039 0 20
scene_blend src_alpha dest_alpha
}
}
}
then apply it to a plane under the object, and activate stencil shadows
Offline
great, worked out and the result was very good.
Offline
Hello friends
Some 3D objects with its shadow are defective. This is solely due to some detail in the 3D mesh or is there some setting in the material that may solve the problem?
I send a picture below to illustrate the problem.
Thanks again.
Offline
Yes sometimes the stencil shadows fail this is a ogre issue
try to re export your object and be sure to weld all the vertices, it's usually due to multi sub object materials you can also try to change the poly material ids if you don't use them.
Offline
Pages: 1