UpdateNormals ????***

Blitz3D Forums/Blitz3D Programming/UpdateNormals ????***

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

why did you use a flipmesh on the ground? chaning 2nd and 3rd vertex in the addtriangle command has the same effect and saves time :)

You say the first code worked but not the 2nd, right?
Is there any Lightsource in the whole source with part 2?
Do you modify the vertexcolors outside this function? ( you used VertexColor FX so I think you are doing something with it ) because the shading is done over vertex colors so if you modify the vertex color the shading is gone.