Browse Source

Updated README.

Branimir Karadžić 12 years ago
parent
commit
e125cb0c20

+ 8 - 1
README.md

@@ -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.

+ 1 - 1
examples/18-ibl/fs_ibl_mesh.sc

@@ -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;

+ 1 - 0
examples/makefile

@@ -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

BIN
examples/runtime/shaders/gles/fs_ibl_mesh.bin


BIN
examples/runtime/shaders/gles/fs_ibl_skybox.bin


BIN
examples/runtime/shaders/gles/vs_ibl_mesh.bin


BIN
examples/runtime/shaders/gles/vs_ibl_skybox.bin