[quake3-bugzilla] [Bug 5979] cubemap support for opengl2
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Fri Sep 13 05:49:46 EDT 2013
https://bugzilla.icculus.org/show_bug.cgi?id=5979
James Canete <use.less01 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3374|0 |1
is obsolete| |
--- Comment #3 from James Canete <use.less01 at gmail.com> ---
Created attachment 3384
--> https://bugzilla.icculus.org/attachment.cgi?id=3384&action=edit
cubemap support and more for opengl2, v3
This will probably be the version I push to github, barring any serious
problems.
New features:
-r_baseGloss and r_baseSpecular. These two cvars control the gloss and
specular of surfaces that don't specify otherwise. They default to 0.3 and
0.04, respectively.
-r_specularIsMetallic. This cvar controls whether the specular texture is the
specular reflectance at normal incidence (0), or if the red channel indicates
metallicness (1). If r_specularIsMetallic is 1 and the red channel is 1, then
the diffuse texture is used as specular reflectance at normal incidence, and
the diffuse reflectance is set to 0.
-set the fragment program to use world space again, because lighting
calculations weren't correct when the tangent space was non-orthogonal.
-added a simple occlusion hack for deluxe specular and cubemaps, to avoid odd
brightness in dark areas of textures. This should probably be removed and
replaced with a combination of the ssao and texture ao.
-all lit surfaces use cubemaps now, including models.
-some cleanup
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3-bugzilla/attachments/20130913/b866153b/attachment.html>
More information about the quake3-bugzilla
mailing list