[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.4963362 [View]
File: 2.40 MB, 987x818, it looks less ugly at normal speed.webm [View same] [iqdb] [saucenao] [google]
4963362

Having trouble animating with GLSL. I'm trying to blend between two textures in a 4x1 texture sheet. When I do a simple, uniform blend, everything looks fine. But when I try something complex and use the texture's brightness or its X position to adjust the animation offset, I get ugly single color bands at the transition point between the two textures. Anyone know what could be causing it?

code: https://pastebin.com/zTYNwmW1

Navigation
View posts[+24][+48][+96]