Coder Social home page Coder Social logo

PSSM Shadow Clipping Issue about ogre HOT 7 OPEN

blitzcoder avatar blitzcoder commented on June 15, 2024
PSSM Shadow Clipping Issue

from ogre.

Comments (7)

paroj avatar paroj commented on June 15, 2024

the issue is that we only consider the caster bbox for focusing the shadow camera:
shadow

we could also add the receiver bbox, but that would drastically decrease shadow resolution.

I would suggest adding fake casters to increase the bbox size for now

from ogre.

blitzcoder avatar blitzcoder commented on June 15, 2024

Here's another look below which is a more common angle for 1st or 3rd person cam.

comparing it to the same angle with Ogre 1.7 (2nd screenshot) and issue is not present.

Ogre 1.14
Untitled

Ogre 1.7
Untitled2

from ogre.

paroj avatar paroj commented on June 15, 2024
mTerrainGlobals->setCastsDynamicShadows(true);

for 1.7 behaviour

from ogre.

blitzcoder avatar blitzcoder commented on June 15, 2024
mTerrainGlobals->setCastsDynamicShadows(true);

for 1.7 behaviour

ok I enabled that, seems still ok from around that angle..

screenshot08262023_065702196

but I get this:

screenshot08262023_065735313

seems to be a persistent issue up to now with terrain shadows in a different form..

from ogre.

paroj avatar paroj commented on June 15, 2024

but I get this:

does not happen in Ogre 14

from ogre.

blitzcoder avatar blitzcoder commented on June 15, 2024

but I get this:

does not happen in Ogre 14

I see that and it's good some issues back then are now being addressed

but this seems to be a new one:

just my observation.

from ogre.

paroj avatar paroj commented on June 15, 2024

but this seems to be a new one:

this is the screenshot you posted above. The workaround is the setting I posted above for ogre 14

from ogre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.