You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Far color / Horizon color is < 100 (0.10 in blender), the corresponding channel color will display as black.
Example level0.c file :
CVECTORlevel0_BGc= { 100, 218, 216, 0 };
results in :
CVECTORlevel0_BGc= { 0, 218, 216, 0 };
Might be an error in the linear to RGB conversion function.
Also could be due to psyq dpq calculation. See LibRef47.pdf, p.450 and LibOver47.pdf, p.133, "Light Source Calculation" :
LLM == Local Light Matrix
LLV == Local light vector
LC == Local Color
BK == Back Color
FC == Far Color
p == interpolation coefficient
LLV = LLM * v0
LC = BK + LCM * LLV
v2 = (1 - p) * v1 * LC + p * FC
v0 -> vx, vy, vz
vl -> r, g, b
p
NormalColorDpq(): v2 -> r, g, b
The text was updated successfully, but these errors were encountered:
If Far color / Horizon color is < 100 (0.10 in blender), the corresponding channel color will display as black.
Example
level0.c
file :results in :
Might be an error in the linear to RGB conversion function.
Also could be due to psyq dpq calculation. See LibRef47.pdf, p.450 and LibOver47.pdf, p.133, "Light Source Calculation" :
The text was updated successfully, but these errors were encountered: