diff --git a/source-code/data/plugins/ShaderPatch.ini b/source-code/data/plugins/ShaderPatch.ini index 9f06b57..a3bc1a7 100644 --- a/source-code/data/plugins/ShaderPatch.ini +++ b/source-code/data/plugins/ShaderPatch.ini @@ -37,13 +37,13 @@ Toon_Lines_Improve_Val3=0.75 [Patches] # Compatibility patches: # Star Story (and etc.) stage corruption (Maxwell+) -blinn_per_vert\.0010010[23]00[01]\.fp=arch:GP,TU,GV,GM||cfg:compat||from:TEX tex_col, a_tex_color0, texture\[0\], 2D; ALIAS||to:TEX tex_col, a_tex_color0, texture[0], 2D; MUL tex_col, 1, tex_col; ALIAS +blinn_per_vert\.0010010[23]00[01]\.fp=arch:GA,TU,GP,GV,GM||cfg:compat||from:TEX tex_col, a_tex_color0, texture\[0\], 2D; ALIAS||to:TEX tex_col, a_tex_color0, texture[0], 2D; MUL tex_col, 1, tex_col; ALIAS # Turing shading lines (new patch by samyuu, hopefully ported to here correctly) -.*=arch:TU||cfg:compat||from:SHORT ||to: +.*=arch:GA,TU||cfg:compat||from:SHORT ||to: # Turing NPR cloth noise -cloth_npr1.*=arch:TU||cfg:compat||from:SSG _tmp0.yw, ybr.xxzz;||to:TEMP _tmpForSSG; SGE _tmpForSSG.xz, ybr.xxzz, 0; SUB _tmpForSSG.xz, _tmpForSSG.xxzz, 1; SGT _tmpForSSG.yw, ybr.xxzz, 0; ADD _tmp0.yw, _tmpForSSG.xxzz, _tmpForSSG.yyww; +cloth_npr1.*=arch:GA,TU||cfg:compat||from:SSG _tmp0.yw, ybr.xxzz;||to:TEMP _tmpForSSG; SGE _tmpForSSG.xz, ybr.xxzz, 0; SUB _tmpForSSG.xz, _tmpForSSG.xxzz, 1; SGT _tmpForSSG.yw, ybr.xxzz, 0; ADD _tmp0.yw, _tmpForSSG.xxzz, _tmpForSSG.yyww; # Turing auto-exposure fix by samyuu -stage_blinn.*\.fp=arch:TU||cfg:compat||from:NRMH normal, a_normal;||to:NRM normal, a_normal; +stage_blinn.*\.fp=arch:GA,TU||cfg:compat||from:NRMH normal, a_normal;||to:NRM normal, a_normal; # Lyb's toon shader improvements: cloth_npr1.*=cfg:toon_improve||from:MAD tmp.y, lc.z, 1.2, -0.5;||to:MAD tmp.y, lc.z, , ; diff --git a/source-code/source/plugins/Launcher/ui.h b/source-code/source/plugins/Launcher/ui.h index dd33157..946275e 100644 --- a/source-code/source/plugins/Launcher/ui.h +++ b/source-code/source/plugins/Launcher/ui.h @@ -192,10 +192,16 @@ namespace Launcher { if (!vendor->Contains("NVIDIA")) // check OpenGL renderer to get actual GPU being used for vendor check (ensure not running on iGPU) { this->labelGPU->Text += "Issues: NVIDIA GPU REQUIRED!"; - GPUIssueText = "Your graphics card is not supported! Only NVIDIA GPUs can run the game.\nPlease use a GTX 600 series or later GPU.\n\nIf you have a laptop with an NVIDIA GPU, you may need to set diva.exe to use it in NVIDIA Control Panel."; + GPUIssueText = "Your graphics card is not supported. Only NVIDIA GPUs are compatible.\nPlease use a GTX 600 series or later GPU.\n\nIf you have a laptop with an NVIDIA GPU, you may need to set diva.exe to use it in NVIDIA Control Panel.\n\nOwners of non-NVIDIA GPUs may be able to run the game using external plugins or mods, but 3D graphics will probably not work."; this->labelGPU->LinkColor = System::Drawing::Color::Red; showGpuDialog = true; } + else if (gpuModel->StartsWith("GA")) // unconfirmed?? + { + this->labelGPU->Text += "Issues: Ampere GPU detected! Unknown issues.\n(Click for more information)"; + GPUIssueText = "Ampere GPUs have not been tested yet. On the previous generation Turing GPUs (GTX 16xx/RTX 20xx), some important character shaders have issues resulting in lines/noise.\nPlease make sure the ShaderPatch plugin is enabled and report any further issues to the developers."; + this->labelGPU->LinkColor = System::Drawing::Color::Yellow; + } else if (gpuModel->StartsWith("TU")) { this->labelGPU->Text += "Issues: Turing GPU detected! Possible noise.\n(Click for more information)";