Skip to content

AMD显卡着色器编译报错无法运行,但N卡完全正常 #103

@MacchaPafe

Description

@MacchaPafe

平台(如 windows 11,x64):win10 win11

python 版本(精确到子版本和位数,如 3.10.11 win32):3.9.13 win64

live2d-py 版本(如 0.3.1):

live2d 模型版本(live2d.v2 或 live2d.v3):v2

原因差不多搞清楚了,应该是AMD驱动那边的问题,使用旧版GLSL写的shader语法不支持。
解决方法是将live2d\v2\core\graphics\draw_param_opengl.py中的所有#version 120改成#version 400

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationlive2d:v2Cubism 2.1-

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions