Dolphin, the GameCube and Wii emulator - Forums

Full Version: [GC] Beyond Good & Evil
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

veng92

In regards to the Image Zoom shader, can it be used with DX12? I need to use DX12 for IshiirukaFX lighting etc. (Doesn't work on OpenGL) but I get this when adding the zoom:

Quote:Error X3014: incorrect number of arguments to numeric-type constructor


I can only assume it has something to do with the float2 usage within the shader's code:

Code:
void main()
{
float2 coord = float2(0.5,1-GetOption(OFFSET)) + (GetCoordinates()-float2(0.5,1)) * float2(1,GetOption(ASPECT)) / GetOption(ZOOM);
SetOutput(clamp(coord,0,1)==coord ? SampleLocation(coord) : float4(0));
}

Is there a way around this so I can use the zoom shader on DX12?

EDIT: Oops, did some more digging and found a simpler version of this script - it works! For anyone else wondering:
Code:
void main() {
    float2 coords = GetCoordinates() - float2(0.5, 0.5);
    float2 new_coords = float2(coords.x, coords.y*3/4);
    float2 sample_coords = new_coords + float2(0.5, 0.5);
    SetOutput(SampleLocation(sample_coords));
}

fishtacos

This worked wonderfully. Thank you for sharing.

For those too lazy to change settings per game, Windows key (Start button and the + button will zoom into the screen with 0 added delay as well. Windows key and - will zoom you back to default. Works out of the box in Windows 10 at least.
I was playing Beyond Good and Evil with Direct3D 12 and development version 13452 and the game crashes when trying to leave the bar area to go to the Main Canal area. This empty popup window appears then the whole thing just crashes after 1-2 minutes.

[attachment=19356]
Hi all. Wanting to report that loading screens in this game currently render as pink screens in the current build (5.0-14092). This can be seen immediately on boot of the game, as well as any other long loading screens that have transitions between areas of the map.

Disabling 'Store XFB Copies to Texture Only' appears to fix this issue, with no additional side effects after playing for an additional 5-10 mins.

I'll file this as a proper bug report when I get the time. Looking forward to contributing towards the community!

https://youtu.be/BY41zhjbNlk
Did you test the latest dev build? That fixed some XFB invalidation issues.
Updated to latest dev build (5.0-14205), still seeing the same issue. Again, disabling 'Store XFB Copies to Texture Only' for this game fixes the problem.
Pages: 1 2