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

シェーダに複数 technique が書かれている場合、最初の technique 以外で使用している uniform 変数に値が設定されない #136

Open
lriki opened this issue Mar 28, 2020 · 0 comments
Labels

Comments

@lriki
Copy link
Collaborator

lriki commented Mar 28, 2020

例えば↓のようにしているとき、ln_View について VS_ClusteredForward_Geometry では使わず、VSI_Main で使っているとき、ln_View がall 0 になってしまう。

technique Forward_Geometry
{
    pass Pass1
    {
        VertexShader = VS_ClusteredForward_Geometry;
        PixelShader = PS_Main;
    }
}

technique Forward_Geometry_UnLighting_Instancing
{
    pass Pass1
    {
        VertexShader = VSI_Main;
        PixelShader = PSI_Main;
    }
}
@lriki lriki added the bug label Mar 28, 2020
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