• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OpenGL Shadows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenGL Shadows


  • Subject: OpenGL Shadows
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 20 Oct 2003 11:04:32 +0200

I have an OpenGL scene with objects and shadows on a plane floor.
But depending on the view angle, I sometimes get a rather patchy and ugly mixture of shadow and floor (depth test is on).

My current fix is to move the floor a few millimeters down, so that the shadows (and the objects) actually hover some millimeters above the floor.

This works and the mis-placement of the floor is not detectable. But is somehow feels like an ugly hack.

So: what is the real and elegant solution to put shadows on a floor?

Gerriet.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: OpenGL Shadows
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Shadows when resizing
  • Next by Date: colorizeByMappingGray doesn't like bitmap format
  • Previous by thread: Shadows when resizing
  • Next by thread: Re: OpenGL Shadows
  • Index(es):
    • Date
    • Thread