Project

General

Profile

Actions

Emulator Issues #12952

closed

Specular highlights and Z-Artifacts in Quake GX per-pixel lighting demo

Added by Luig over 2 years ago. Updated about 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Quake GX per-pixel lighting Demo by DRS

What's the problem? Describe what went wrong.

A bunch of the graphical effects are broken in this demo, even on the software renderer. The viewmodel shadows are completely busted and seem to warp and z-fight all the time, and all the specular highlighting seems to be broken as well, also z-fighting with everything and generally just not showing up. In general, it seems to zfight much more than on real hardware.

What steps will reproduce the problem?

Download this; https://files.extremscorner.org/wii/apps/quakeGXSDshareware.zip . It's the shareware demo of quake. Put it on an SD card in the apps folder, and launch it on a modded wii. Then, make a virtual SD card for dolphin with the same setup, and launch that from the homebrew channel in dolphin. You should be able to see the difference, and I have also attached 2 videos showing it on hardware and on emulator.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-16655

Is the issue present in the latest stable version?

Yes

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

3frame fifolog of the game on dolphin:
https://drive.google.com/file/d/1sWLH6PwUwwrdhCqkK2t_7K91sLdKsJmj/view?usp=sharing
recording on my wii:
https://cdn.discordapp.com/attachments/667188545475051541/985719256446541845/2022-06-12_20-26-23-1.webm
recording on dolphin:
https://cdn.discordapp.com/attachments/280095869825712128/985734362643452014/2022-06-12_21-34-27.mp4

What are your PC specifications? (CPU, GPU, Operating System, more)

Ryzen 3600
GTX 1060
16gb 3600mhz CL16 RAM

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

He never gave out his source code unfortunately, so it's technically a GPL violation. Nonetheless, it's fascinating, here's the link where he talked about it over 10 years ago. https://forum.beyond3d.com/threads/normal-mapping-wii-demo.46425/
More useful to you however, on the devkitpro forums, he posted his method and code for normal mapping, which you can find here.
https://devkitpro.org/viewtopic.php?t=1564#p3510
unfortunately I couldn't get into contact with him.


Files

real_hardware.png (627 KB) real_hardware.png image from the hardware fifoplayer pokechu22, 06/30/2022 10:28 PM
nmcube_new.dff (1.22 MB) nmcube_new.dff pokechu22, 07/01/2022 04:38 AM
Actions

Also available in: Atom PDF