Align stellar lighting and gravity field axes

This commit is contained in:
Meta Vens 2026-07-16 18:50:41 +01:00
commit db35250d09
9 changed files with 136 additions and 58 deletions

View file

@ -80,7 +80,10 @@ float parabola( float x, float k )
float2 getUV(float2 pos)
{
return -(pos-_GridTransform.xy)/_GridTransform.z + float2(.5,.5);
// Eve Fields rasterizes its typed viewport with positive world axes.
// The fossil gravity camera reversed both axes and required a leading
// minus here; that camera is no longer an authority in the daemon path.
return (pos-_GridTransform.xy)/_GridTransform.z + float2(.5,.5);
}
float2 getUVFluid(float2 pos)