No shadows when use animated entity

All bugs related to the 3D engine
User avatar
minimy
Enthusiast
Enthusiast
Posts: 616
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

No shadows when use animated entity

Post by minimy »

When use animated entity in 6.21 beta 6 and 7 i got no shadows??? :shock:

Add this to my code to test with 6.21 and older versions.

Code: Select all

    CompilerIf #PB_Compiler_Version >= 620
      Add3DArchive(#PB_Compiler_Home + "examples/3d/Data/Main", #PB_3DArchive_FileSystem)
      Add3DArchive("datos/modelos", #PB_3DArchive_FileSystem)
      Parse3DScripts() 
    CompilerElse
      Add3DArchive("datos/modelos", #PB_3DArchive_FileSystem)
      Parse3DScripts() 
    CompilerEndIf
With 6.02 and 6.04 all animated entitys work with shadows, but when use 6.21 no shadows.
This is a bug?
Sorry but i cant put here all the code because is really big.
With native meshes like createbox or sphere all work good, but loaded meshes with animation i got no shadows.
Im using simple shadows #PB_Shadow_Modulative.
Need do any thing for the shadows in the new ogre version?

Another thing i see is the skeleton example no move th cylinder , move the bones but the cylinder is still.
Was tested in x86 and x64 with intel and nvidia gpu.
If translation=Error: reply="Sorry, Im Spanish": Endif