Page 1 of 1

Shadow's artefact

Posted: Fri Mar 14, 2014 7:38 pm
by maslobojik
Material name from Ogre examples in DepthShadowmap.material

Code: Select all

 . . .
GetScriptMaterial(0,"Ogre/DepthShadowmap/Receiver/RockWall/PCF")
CreateSphere(0,3)
CreateEntity(0,MeshID(0),MaterialID(0))
. . .
...and I see this artefact...
Image

How can I fix it?

Re: Shadow's artefact

Posted: Fri Mar 14, 2014 9:33 pm
by Samuel
This question may be more suited to the 3D section. As far as I know what your trying to do can't be done in Purebasic yet.
In order to use custom shadows we need to be able to enable them in Ogre.
I'll put a request in for this (with the required Ogre commands) in the Feature Requests and Wishlists later today.
Then we will just have to wait and see if it will be implemented in Purebasic.