Update the projective texture shader to solve the texture interpolation artifact.
This commit is contained in:
@@ -93,7 +93,5 @@ void main(void)
|
||||
gl_Position = vertexLoc;
|
||||
|
||||
fragment.color = instance_color;
|
||||
vec4 projcoords = TextureMVP * vec4((instance_position+localcoord).xyz,1);
|
||||
vert.texcoord = projcoords.xy/projcoords.z;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user