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
Lighting cleanup #439
Lighting cleanup #439
Conversation
| #define I_TRANSFORMMATRICES "ctrmtx" | ||
| #define I_NORMALMATRICES "cnmtx" | ||
| #define I_POSTTRANSFORMMATRICES "cpostmtx" | ||
| #define I_DEPTHPARAMS "cDepth" // farZ, zRange |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
Anything else to fix? I'd like to see this merged soon to port PR #394 to normalize on the CPU. |
|
It is not possible to normalise on cpu, it is done this way so an other
|
|
You have normalized all accesses of this constant. So which other channel are you refering to? |
|
Oh was thinking about the light pos params that can be used as a position
|
|
That's why I want this PR to get merged before this to be done on the CPU. It will be less confusing as this parameters are splitted into a struct :) |
| }; | ||
|
|
||
| #define I_COLORS "color" |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
LGTM once the fixes are squashed into the previous commits. |
|
@dolphin-emu-bot rebuild |
1 similar comment
|
@dolphin-emu-bot rebuild |
|
Looks like build went well, even though there's not definite "okay" from the buildbot ... |
This branch cleans up our lighting code: