TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
592 stars 156 forks source link

idTech2 shaders fix and compiler warning fixes #660

Closed jdolan closed 4 years ago

jdolan commented 4 years ago

This primarily addresses a bug where idTech2 games using the "shaders" API will receive Q3 / QER surface flags when a texture is applied to a face. Because these games are only using the "shaders" API for editor convenience (QER_TRANS is pretty nice), it's wrong to pass these flags down into the faces. QER_TRANS, for example, collides with SURF_LIGHT in Quake, Quake2, Quetoo, etc.

TTimo commented 4 years ago

I don't have a setup to test this atm, but this looks straightforward - thanks! Hope you're doing well.