Page 1 of 1

[1.0.24, maybe more?] Strange bug with Warp Texture shaders

Posted: Mon Aug 06, 2007 9:54
by The Kins
When playing with "Shaders For Warp Textures" enabled, textures can sometimes go a tad haywire and be "replaced" by the warp texture if the warp is viewed from certain angles.

Here's a screenshot:
Image

Here's a (somewhat crappily compressed, I apologize, but you get the point of it) video:
http://youtube.com/watch?v=EnVNu3dSuV0

My video card is a Radeon X1300, and I am using the official ATI drivers for Windows Vista, with a version number of 7.14.0010.0503 and a timestamp of 14/06/2007.

Any thoghts?

Posted: Mon Aug 06, 2007 15:52
by Lazureus
I had this same bug in skulltag in GL. It appears to be an ATI problem. NVidia cards do not suffer from this, and I have never seen it since I got my nvidia.

Other people with ATI have similar problems as this, as well. I dunno if it's just cuz of the driver, or a limitation of the ATI Hardware. ATI fails it in opengl , though, since it seems to be more for direct3d. NVidia is far more opengl compliant :o.

Anyways, that would probably be the issue.

Posted: Tue Aug 07, 2007 9:28
by Nash
Actually, even nVidia cards suffer the same problem.

It happens both on my older GeForce 4 MX and my newer SLI'ed 7950s.

I can't remember if Graf ever said about planning to fix it or anything like that but hopefully he would fix it eventually.

If you absolutely want to use the new warp shaders, you can turn off dynamic lighting. That'll make the glitches go away.

Posted: Tue Aug 07, 2007 14:30
by The Kins
What's the difference with warp shaders anyway? I'm probably missing something. :(

Posted: Tue Aug 07, 2007 16:14
by Torr Samaho
Setting "Force Additive Lighting" to on also fixes the display problem, even with enabled "Shaders For Warp Textures". Unfortunately the additive lighting doesn't look right under some circumstances, so this is no solution either.

Posted: Thu Aug 09, 2007 21:10
by Nash
Yeah unfortunately, additive lighting is ugly. :(

The Kins: The shaders make WARP and WARP2 textures deform smoother and prettier. It's hard to describe the difference without an animation and I don't really have the resources to create one right now. But it's just nicer-looking.

EDIT: I just noticed that your hardware does indeed support shaders. Trying turning off dynamic lights temporarily then take a close hard look at warped textures and see the difference.

EDIT 2: I also just noticed that you're Kinsie. Sorry for treating you like a newbie. :P

Posted: Tue Sep 18, 2007 20:52
by Torr Samaho
After a quick check 1.0.25 seems to fix this completely for me.

Posted: Tue Sep 18, 2007 21:01
by Graf Zahl
The shader code was completely rewritten, both to enhance flexibility and to address the issues that caused this. Thanks for confirming.