Opened 13 years ago

Last modified 7 years ago

#743 new task

Improve shadows

Reported by: Philip Taylor Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by historic_bruno)

Shadows could do with significant improvements. #504 and #661 and #143 are somewhat relevant. Some other random thoughts:

  • GL_LINEAR filtering on depth textures shouldn't really work. In particular it doesn't work at all on ATI, so it looks ugly. NVIDIA does something funny (PCF?). Intel maybe does something like NVIDIA. We ought to have it work properly with GL_NEAREST so it's not ugly on ATI.
  • Some kind of CSM might be nice.
  • Users should be able to configure higher-res shadow maps. Maybe we should default to higher-res if it doesn't hurt performance much?
  • We can drop non-FBO and non-depth-texture paths.

Change History (4)

comment:1 by Kieran P, 13 years ago

Milestone: Alpha 5Backlog

comment:2 by historic_bruno, 12 years ago

Description: modified (diff)

comment:3 by historic_bruno, 9 years ago

There's an unused variable m_ShadowZBias (don't remember why myconid removed that) and several outdated comments about accessing shadow parameters through JS.

comment:4 by elexis, 7 years ago

In 20001:

Shadow map quality option.

Differential Revision:
Fixes #4351
Refs #743
Patch By: Vladislav

Note: See TracTickets for help on using tickets.