Hello,
I wanted to know whether it is possible to light up a textured shape ?
I tried with the concrete static texture provided by default and a spotlight but everything else is lighted but my textured shape...
Thanks by advance for your answer.
Arnaud Leleve
Textures and light
Re: Textures and light
Hello Arnaud,
Yes, you can do that. In the texture dialog, just click "modulate colors". The texture will then be modulated with the shape color, and be influenced by lighting.
Cheers
Yes, you can do that. In the texture dialog, just click "modulate colors". The texture will then be modulated with the shape color, and be influenced by lighting.
Cheers
Re: Textures and light
Already tried but without effect, sorry; perhaps another parameter ?
here is a screenshot:
http://www.tiikoni.com/tis/view/?id=e0199b8
Cheers
here is a screenshot:
http://www.tiikoni.com/tis/view/?id=e0199b8
Cheers
Re: Textures and light
Oh, it might be another reason, not really sure since I can't regognize much in the picture:
If your object is composed by very large triangles, then local lighting might not be taken into account: openGl calculates the lighting on a triangle by interpolating the lighting at its corners. If the corners lie far away from the light source, the triangle won't get lit.
Your option is to divide the shape into smaller triangles: select your shape, enter the triangle edit mode, then click a couple of times "Subdivide largest triangles". Then leave the triangle edit mode again.
Does that help?
If your object is composed by very large triangles, then local lighting might not be taken into account: openGl calculates the lighting on a triangle by interpolating the lighting at its corners. If the corners lie far away from the light source, the triangle won't get lit.
Your option is to divide the shape into smaller triangles: select your shape, enter the triangle edit mode, then click a couple of times "Subdivide largest triangles". Then leave the triangle edit mode again.
Does that help?
Re: Textures and light
Hi,
Good answer ! It works.
Thanks very much.
Yours
Good answer ! It works.
Thanks very much.
Yours