Layered transparency

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Layered transparency

Postby Ian » Mon May 15, 2017 11:34 am

Well I tried out my matrix idea. Detect shadow matrix, set stencil. Worked really nicely for all games, except Spikeout. Spikeout doesn't use any sort of shadow matrix to squish a 3d model into a plane. The polys themselves have zero height, and without stencil z fight like crazy.

The last possible option must be the hardware is sorting transparent polys. Actually sorting individual polys is probably crazy expensive, not to mention the problem of polys intersecting each other, which definitely happens in ECA with the broken glass.

A cheaper option might be to simply do a depth only pass on polys of the same type. That would stop any overlapping ones, and stop all z fighting completely. Not too expensive either.
Posts: 843
Joined: Tue Feb 23, 2016 9:23 am


Return to The Dark Room

Who is online

Users browsing this forum: Bing [Bot] and 2 guests