devmiyax / yabause

Yabause is a Sega Saturn emulator and took over as Yaba Sanshiro
http://www.uoyabause.org
GNU General Public License v2.0
210 stars 35 forks source link

|SEGA Rally Championship] GFX problem... #239

Open BenjaminSiskoo opened 8 years ago

BenjaminSiskoo commented 8 years ago

UoYabause 0.3.0 06.20.2016 (OpenGL)

Artefacts on the road.

https://youtu.be/XG4Zd3hgY7Y

BenjaminSiskoo commented 7 years ago

UoYabause 0.4.1 : same problem

BenjaminSiskoo commented 7 years ago

UoYabause 0.5.2 : same problem

BenjaminSiskoo commented 6 years ago

UoYabause 0.5.6 : same problem. GFX artefacts on the road. ss_sega_ rally_ championship

BenjaminSiskoo commented 6 years ago

Same problem with Yaba Sanshiro 1.3.0 RC

BenjaminSiskoo commented 6 years ago

Yaba Sanshiro 1.7.0 : same problem.

devmiyax commented 6 years ago

image image

vertex of event 186 VB Offset,Index: 0 Type: GL_FLOAT Size: 2 : Component 0,Index: 0 Type: GL_FLOAT Size: 2 : Component 1,Index: 1 Type: GL_FLOAT Size: 4 : Component 0,Index: 1 Type: GL_FLOAT Size: 4 : Component 1,Index: 1 Type: GL_FLOAT Size: 4 : Component 2,Index: 1 Type: GL_FLOAT Size: 4 : Component 3,Index: 2 Type: GL_FLOAT Size: 4 : Component 0,Index: 2 Type: GL_FLOAT Size: 4 : Component 1,Index: 2 Type: GL_FLOAT Size: 4 : Component 2,Index: 2 Type: GL_FLOAT Size: 4 : Component 3 0,110.000,105.000,431.975,480.025,0.000,1.000,0.000,0.000,0.000,0.000 1,111.000,105.000,384.025,480.025,0.000,1.000,0.000,0.000,0.000,0.000 2,111.000,104.000,384.025,527.975,0.000,1.000,0.000,0.000,0.000,0.000 3,110.000,105.000,431.975,480.025,0.000,1.000,0.000,0.000,0.000,0.000 4,111.000,104.000,384.025,527.975,0.000,1.000,0.000,0.000,0.000,0.000 5,110.000,104.000,431.975,527.975,0.000,1.000,0.000,0.000,0.000,0.000

devmiyax commented 6 years ago

draws tranparent textures

image

devmiyax commented 6 years ago

char adr 0x0001a8e0

devmiyax commented 6 years ago

Should be this image

BenjaminSiskoo commented 4 years ago

Same problem with Yaba 3.2.4

devmiyax commented 3 years ago

Before image

After image

devmiyax commented 3 years ago

This issue is caused by the difference in policy of rasterization between OpenGL and VDP1. VDP1 renders every pixel less than 1px. OpenGL does not.

image

devmiyax commented 3 years ago

It affects the rendering result of low precision vertex . image

devmiyax commented 3 years ago

SSF

image

devmiyax commented 3 years ago

Conservative Rasterization extension is needed https://developer.nvidia.com/content/dont-be-conservative-conservative-rasterization

devmiyax commented 3 years ago

Conservative Rasterization is enabled

image

devmiyax commented 3 years ago

it's wrong when hi resolution. image