fix improper fragment color mode
This commit is contained in:
parent
85641231c2
commit
5a7cefd39d
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user