Updated README.

This commit is contained in:
Branimir Karadžić 2014-02-14 00:16:23 -08:00
parent 8f56c5a120
commit e125cb0c20
7 changed files with 10 additions and 2 deletions

View file

@ -124,6 +124,13 @@ Shadow volumes.
![example-16-shadowmaps](https://github.com/bkaradzic/bgfx/raw/master/examples/16-shadowmaps/screenshot.png)
### 17-drawstress
Draw stress, maximizing number of draw calls.
### 18-ibl
Image based lighting.
Dependencies
------------
@ -414,7 +421,7 @@ Jeremie Roy ([@jeremieroy](https://github.com/jeremieroy)) - Font system and
examples.
Milos Tosic ([@milostosic](https://github.com/milostosic)) - 12-lod example.
Dario Manesku ([@dariomanesku](https://github.com/dariomanesku)) - 13-stencil,
14-shadowvolumes, 15-shadowmaps-simple, 16-shadowmaps
14-shadowvolumes, 15-shadowmaps-simple, 16-shadowmaps, 18-ibl
When contributing to the bgfx project you must agree to the BSD 2-clause
licensing terms.

View file

@ -62,7 +62,7 @@ void main()
vec3 cd = kd * (1.0 - cs);
vec3 diff = cd;
float pwr = exp2(u_glossiness * 11.0 + 1.0);
float pwr = exp2(u_glossiness * 11.0 + 1.0);
vec3 spec = cs * pow(ndoth, pwr) * ( (pwr + 8.0)/8.0) * fresnel(cs, vdoth);
vec3 ambspec = fresnel(cs, ndotv) * cenv;

View file

@ -21,5 +21,6 @@ rebuild:
@make -s --no-print-directory rebuild -C 15-shadowmaps-simple
@make -s --no-print-directory rebuild -C 16-shadowmaps
@make -s --no-print-directory rebuild -C 17-drawstress
@make -s --no-print-directory rebuild -C 18-ibl
@make -s --no-print-directory rebuild -C common/font
@make -s --no-print-directory rebuild -C common/imgui