scud fog and los position

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: scud fog and los position

Postby HarryTuttle » Sat Jan 13, 2018 1:49 pm

Ian wrote:Either there is a 1 frame lag between reading values and working out the depth value, or the hardware does a pre depth pass of all the geometry.

I believe that's the second, which would be useful also for transparent polygon sorting. I think it tests for any occluding geometry (which returns los value, with polygon bit noLosReturn unset) in that point. Then skips rendering a particular viewport or node. The fog itself is a viewport attribute and the lens flare is made of transparent textured quads.
User avatar
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: scud fog and los position

Postby Ian » Sat Jan 13, 2018 1:59 pm

I totally forget about the no loss return poly attribute :) will do some testing with that.
Posts: 1500
Joined: Tue Feb 23, 2016 9:23 am


Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 2 guests