mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Default TEV source 15 to the vertex colour
Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
parent
c41b4b465a
commit
e9f94aab24
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ void main() {
|
||||||
if ((textureConfig & 2u) != 0u) tevSources[4] = texture(u_tex1, v_texcoord1);
|
if ((textureConfig & 2u) != 0u) tevSources[4] = texture(u_tex1, v_texcoord1);
|
||||||
if ((textureConfig & 4u) != 0u) tevSources[5] = texture(u_tex2, tex2UV);
|
if ((textureConfig & 4u) != 0u) tevSources[5] = texture(u_tex2, tex2UV);
|
||||||
tevSources[13] = vec4(0.0); // Previous buffer
|
tevSources[13] = vec4(0.0); // Previous buffer
|
||||||
tevSources[15] = vec4(0.0); // Previous combiner
|
tevSources[15] = v_colour; // Previous combiner
|
||||||
|
|
||||||
tevNextPreviousBuffer = v_textureEnvBufferColor;
|
tevNextPreviousBuffer = v_textureEnvBufferColor;
|
||||||
uint textureEnvUpdateBuffer = readPicaReg(0xE0);
|
uint textureEnvUpdateBuffer = readPicaReg(0xE0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue