Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WorldNode renderer: handle material override #690

Open
kristiker opened this issue Dec 27, 2023 · 0 comments
Open

WorldNode renderer: handle material override #690

kristiker opened this issue Dec 27, 2023 · 0 comments
Labels

Comments

@kristiker
Copy link
Member

kristiker commented Dec 27, 2023

Is your feature request related to a problem? Please describe.

de_inferno/node000.vwnod_c has

    m_materialOverrides = 
    [
        
        {
            m_nSceneObjectIndex = 466
            m_nSubSceneObject = 0
            m_nDrawCallIndex = 0
            m_pMaterial = resource:"models/cs_italy/italy_curbs/italy_curbs_01_inferno.vmat"
        },
    ]

Describe the solution you'd like

[RENDERER] replace material in the scene node
[MAP DECOMPILE] set materialoverride key on prop_static instance
[GLTF] Replace the material

Describe alternatives you've considered

No response

@kristiker kristiker added the bug label Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant