Updated README.
This commit is contained in:
parent
8f56c5a120
commit
e125cb0c20
@ -124,6 +124,13 @@ Shadow volumes.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user