Welcome, Guest.
Username: Password: Remember me

TOPIC: Ziggurat depth buffer issue

Ziggurat depth buffer issue 1 year 10 months ago #1

I tried the 0.17.1 framework with Ziggurat (a rogue-lite FPS) and, while everything seemed to work perfectly with the opengl32.dll hook, there was some weird behaviour from depth buffer effects.

First of all, DOF seemed to be applied on random patches of the scene:
Warning: Spoiler! [ Click to expand ]


Then, ambient occlusion lines did not correspond to the objects in-game
Warning: Spoiler! [ Click to expand ]


Same thing with cel shading - only this time it became more apparent that the effect was inverted vertically in respect to the gamespace
Warning: Spoiler! [ Click to expand ]


Here's the tracelog if it is of any help.
The administrator has disabled public write access.

Ziggurat depth buffer issue 1 year 10 months ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2536
  • Thank you received: 1452
Well, the current depthbuffer is not the depth of your scene then, it contains something else.
Cheers, crosire =)
The administrator has disabled public write access.

Ziggurat depth buffer issue 1 year 10 months ago #3

  • JPulowski
  • JPulowski's Avatar
  • Offline
  • Posts: 94
  • Thank you received: 86
crosire wrote:
Well, the current depthbuffer is not the depth of your scene then, it contains something else.
Actually, the depth buffer contains the correct information. But it needs to be flipped, as far as I can see it is an Unity game. So it is a known issue.
The administrator has disabled public write access.
The following user(s) said Thank You: SpinelessJelly

Ziggurat depth buffer issue 1 year 10 months ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2536
  • Thank you received: 1452
JPulowski wrote:
But it needs to be flipped
Or that =)
Cheers, crosire =)
Last Edit: 1 year 10 months ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: SpinelessJelly

Ziggurat depth buffer issue 1 year 10 months ago #5

By no means a big deal, the game is pleasantly colorful enough as it is (nor I'll be screenshotting this one any time soon), just wanted to report the findings. Keep up the good work, guys.

JP, will you port the paint shader to the framework too?
The administrator has disabled public write access.

Ziggurat depth buffer issue 1 year 10 months ago #6

  • JPulowski
  • JPulowski's Avatar
  • Offline
  • Posts: 94
  • Thank you received: 86
SpinelessJelly wrote:
JP, will you port the paint shader to the framework too?
I might. CeeJay is also interested with it, so it might be integrated into SweetFX in the future with more options and better optimized. But if he decides otherwise I can port it easily to the framework. :)
The administrator has disabled public write access.