Bug 5999 - OpenGL2: shader bug in q3dm4
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Video
Version: GIT MASTER
Hardware: PC Linux
: P3 normal
Assignee: James Canete
QA Contact: ioquake3 bugzilla mailing list
URL:
: 6002
Depends on:
Blocks:
 
Reported: 2013-07-28 19:40 EDT by Zack Middleton
Modified: 2013-08-23 04:40:40 EDT
1 user (show)

See Also:


Attachments
screenshot of issue (380.68 KB, image/png)
2013-07-28 19:40 EDT, Zack Middleton

Description Zack Middleton 2013-07-28 19:40:19 EDT
Created attachment 3369 [details]
screenshot of issue

The organic tubes with shader deform in q3dm4 do not render correctly in OpenGL2 renderer.

Found by Tobias Kuehnhammer.
Comment 1 James Canete 2013-08-23 04:37:06 EDT
Looks like this is a bug with the lightall shader not supporting deforms, and the shader parser using it anyway.

I've added some code to fall back to the generic shader in this case.  This means sun shadows will be incorrect on surfaces with deforms or adjustColorsForFog, though.
Comment 2 James Canete 2013-08-23 04:40:40 EDT
*** Bug 6002 has been marked as a duplicate of this bug. ***