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

Fix vertex shader #100

Open
deccer opened this issue Mar 28, 2022 · 0 comments
Open

Fix vertex shader #100

deccer opened this issue Mar 28, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@deccer
Copy link
Contributor

deccer commented Mar 28, 2022

in all chapters Assets/Main.vs.hlsl

instead of

const matrix modelViewProjection = mul(ProjectionMatrix, mul(ViewMatrix, WorldMatrix));

do

const matrix modelViewProjection = mul(WorldMatrix, mul(ViewMatrix, ProjectionMatrix));

with row_major matrixes instead of matrix

@deccer deccer added the good first issue Good for newcomers label Mar 28, 2022
@deccer deccer added this to the Part 1 milestone Mar 29, 2022
@deccer deccer changed the title Project: Fix vertex shader Fix vertex shader Mar 29, 2022
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

2 participants