Shadow's artefact

Advanced game related topics
maslobojik
User
User
Posts: 36
Joined: Thu Jul 11, 2013 11:17 pm

Shadow's artefact

Post 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?
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: Shadow's artefact

Post 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.
Post Reply