diff --git a/source/main.cpp b/source/main.cpp index 2886a4f..0e8b3d0 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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); diff --git a/source/vshader.v.pica b/source/vshader.v.pica index db46fef..989078a 100644 --- a/source/vshader.v.pica +++ b/source/vshader.v.pica @@ -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