Bug 6004 - OpenGL2: Some parts of some player models are badly or not lighted.
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Video
Version: unspecified
Hardware: PC Windows NT
: P3 normal
Assignee: James Canete
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2013-08-01 06:24 EDT by Kuehnhammer Tobias
Modified: 2013-08-23 03:58:55 EDT
0 users

See Also:


Attachments
screenshot of issue (236.51 KB, image/jpeg)
2013-08-01 06:34 EDT, Kuehnhammer Tobias

Description Kuehnhammer Tobias 2013-08-01 06:24:37 EDT
Start a match. Change your player model to e.g.: 'Cadaver', 'Xaero' or 'Klesk/Flisk'. Do these commands: 'cg_thirdperson 1 + cg_thirdpersonangle 180'.
Fire your weapon. Parts of the model are not illuminated. Maybe related to specular shader?
All other settings are default, though if 'r_gennormalmaps' is enabled than even model parts are affected that use no specular shaders (see attached screenshot collection: Sorlag)

Tobias Kuehnhammer
Comment 1 Kuehnhammer Tobias 2013-08-01 06:34:08 EDT
Created attachment 3372 [details]
screenshot of issue
Comment 2 James Canete 2013-08-23 03:58:55 EDT
I've committed a fix, turns out the shader parsing code was letting through some shaders that used CGEN_LIGHTING_DIFFUSE without making them use the lightall vertex&fragment shader path.