Skip to content

쉐이더 모듈생성시 캐시키중복되는 문제 처리해야함 #770

Description

@redcamel

쉐이더 모듈생성시 캐시키중복되는 문제 처리해야함

예를 들어 PBR 버텍스쉐이더의 경우

        vModuleDescriptor.code = code.replaceAll('#JOINT_NUM', jointNum)
        gpuRenderInfo.vertexUniformInfo = parseWGSL('MESH_VERTEX_PBR_SKIN', vModuleDescriptor.code).uniforms.vertexUniforms

와 같은 코드가 있는데 여기서 조인트수가 다른데도 MESH_VERTEX_PBR_SKIN 를 같은 키로 처리중임

  • createMeshVertexShaderModulePBRSkin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions