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

Monitor (_rt_) textures for games that have them. #44

Closed
kristiker opened this issue Jan 1, 2023 · 1 comment
Closed

Monitor (_rt_) textures for games that have them. #44

kristiker opened this issue Jan 1, 2023 · 1 comment
Labels
enhancement New feature or request hlvr branch: Half-Life: Alyx materials material importer

Comments

@kristiker
Copy link
Owner

This material could be converted to vr_monitor.vfx with return $MonitorTexture dynamic-exp.

"vertexlitgeneric"
{
    "$basetexture" "_rt_camera1"
    "$model" 1
    "$selfillum" 1
    "$selfillumtint" 2
    "$bumpmap" "models/shared/n_flat"
    "$nodecal" 1

    "$envmap" "env_cubemap"
    "$normalmapalphaenvmapmask" 1
    "$envmaptint" 0.75

    "$phong" "1"
    "$phongexponent" 200
    "$phongboost" "2.5"
    "$phongfresnelranges"    "[0.5 1 3]"

    "VertexlitGeneric_HDR_DX9"
    {
    "Proxies"
    {

        "Sine"
        {
            "resultVar" "$selfillumtint[2]"
            "sineperiod" 1
            "sinemin" 0.4
            "sinemax" 0.6
        }
        "Sine"
        {
            "resultVar" "$selfillumtint[1]"
            "sineperiod" .01
            "sinemin" 0.5
            "sinemax" 0.7
        }
        "Sine"
        {
            "resultVar" "$selfillumtint[3]"
            "sineperiod" .01
            "sinemin" 0.7
            "sinemax" 0.8
        }
    }
    }
    "VertexlitGeneric_DX9"
    {
    "Proxies"
    {

        "Sine"
        {
            "resultVar" "$selfillumtint[2]"
            "sineperiod" 1
            "sinemin" 0.7
            "sinemax" 0.9
        }
        "Sine"
        {
            "resultVar" "$selfillumtint[1]"
            "sineperiod" .01
            "sinemin" 0.8
            "sinemax" 1
        }
        "Sine"
        {
            "resultVar" "$selfillumtint[3]"
            "sineperiod" .01
            "sinemin" 1
            "sinemax" 1.2
        }
    }
    }

     "vertexlitgeneric_dx8"
    {
        "$fallbackmaterial" "models/spire/broadcast/punk_monitor1_dx8"
    }
}
@kristiker kristiker added enhancement New feature or request materials material importer hlvr branch: Half-Life: Alyx labels Jan 1, 2023
@kristiker
Copy link
Owner Author

too specific

@kristiker kristiker closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hlvr branch: Half-Life: Alyx materials material importer
Projects
None yet
Development

No branches or pull requests

1 participant