fix improper fragment color mode

This commit is contained in:
Shylie 2023-04-08 18:19:02 -04:00
parent 85641231c2
commit 5a7cefd39d
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ static void sceneInit()
C3D_TexEnv* env = C3D_GetTexEnv(0);
C3D_TexEnvInit(env);
C3D_TexEnvSrc(env, C3D_Both, GPU_PRIMARY_COLOR);
C3D_TexEnvFunc(env, C3D_Both, GPU_ADD);
C3D_TexEnvFunc(env, C3D_Both, GPU_REPLACE);
C3D_FVec* spheres = C3D_FVUnifWritePtr(GPU_VERTEX_SHADER, spheresUniformLocation, 3);
spheres[0] = FVec4_New(0.0f, -100.5f, -1.0f, 100.0f);

View File

@ -1,5 +1,5 @@
.constf myconst(0.0, 1.0, 0.01, 1000.0)
.constf myconst2(0.25, 0.0, 0.0, 0.0)
.constf myconst2(0.5, 0.0, 0.0, 0.0)
.alias zeros myconst.xxxx
.alias ones myconst.yyyy
.alias near myconst.zzzz