فهرست منبع

Updated shaders.

Branimir Karadžić 10 سال پیش
والد
کامیت
85bf5493c3
71فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 2 2
      examples/common/imgui/fs_imgui_latlong.bin.h
  2. 2 2
      examples/common/imgui/makefile
  3. 4 4
      examples/common/imgui/vs_imgui_latlong.bin.h
  4. BIN
      examples/runtime/shaders/gles/fs_oit_wb.bin
  5. BIN
      examples/runtime/shaders/gles/fs_oit_wb_separate.bin
  6. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm.bin
  7. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_csm.bin
  8. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear.bin
  9. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_csm.bin
  10. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_omni.bin
  11. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_omni.bin
  12. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard.bin
  13. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_csm.bin
  14. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear.bin
  15. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_csm.bin
  16. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_omni.bin
  17. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_omni.bin
  18. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf.bin
  19. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_csm.bin
  20. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear.bin
  21. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_csm.bin
  22. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_omni.bin
  23. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_omni.bin
  24. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm.bin
  25. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_csm.bin
  26. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear.bin
  27. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_csm.bin
  28. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_omni.bin
  29. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_omni.bin
  30. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_hblur.bin
  31. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_packdepth.bin
  32. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_packdepth_linear.bin
  33. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth.bin
  34. BIN
      examples/runtime/shaders/gles/fs_shadowmaps_vblur.bin
  35. BIN
      examples/runtime/shaders/gles/fs_sms_mesh_pd.bin
  36. BIN
      examples/runtime/shaders/gles/fs_sms_shadow_pd.bin
  37. BIN
      examples/runtime/shaders/glsl/cs_init_instances.bin
  38. BIN
      examples/runtime/shaders/glsl/cs_update_instances.bin
  39. BIN
      examples/runtime/shaders/glsl/fs_oit_wb.bin
  40. BIN
      examples/runtime/shaders/glsl/fs_oit_wb_separate.bin
  41. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm.bin
  42. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_csm.bin
  43. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear.bin
  44. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_csm.bin
  45. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_omni.bin
  46. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_omni.bin
  47. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard.bin
  48. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_csm.bin
  49. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear.bin
  50. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_csm.bin
  51. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_omni.bin
  52. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_omni.bin
  53. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf.bin
  54. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_csm.bin
  55. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear.bin
  56. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_csm.bin
  57. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_omni.bin
  58. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_omni.bin
  59. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm.bin
  60. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_csm.bin
  61. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear.bin
  62. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_csm.bin
  63. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_omni.bin
  64. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_omni.bin
  65. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_hblur.bin
  66. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_packdepth.bin
  67. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_linear.bin
  68. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth.bin
  69. BIN
      examples/runtime/shaders/glsl/fs_shadowmaps_vblur.bin
  70. BIN
      examples/runtime/shaders/glsl/fs_sms_mesh_pd.bin
  71. BIN
      examples/runtime/shaders/glsl/fs_sms_shadow_pd.bin

+ 2 - 2
examples/common/imgui/fs_imgui_latlong.bin.h

@@ -12,11 +12,11 @@ static const uint8_t fs_imgui_latlong_glsl[649] =
 	0x72, 0x43, 0x75, 0x62, 0x65, 0x20, 0x73, 0x5f, 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, // rCube s_texColor
 	0x3b, 0x0a, 0x76, 0x6f, 0x69, 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, // ;.void main ().{
 	0x0a, 0x20, 0x20, 0x68, 0x69, 0x67, 0x68, 0x70, 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x72, 0x65, // .  highp vec3 re
-	0x73, 0x75, 0x6c, 0x74, 0x5f, 0x31, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x69, 0x67, 0x68, 0x70, 0x20, // sult_1;.  highp
+	0x73, 0x75, 0x6c, 0x74, 0x5f, 0x31, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x69, 0x67, 0x68, 0x70, 0x20, // sult_1;.  highp 
 	0x66, 0x6c, 0x6f, 0x61, 0x74, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x32, 0x3b, 0x0a, // float tmpvar_2;.
 	0x20, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x32, 0x20, 0x3d, 0x20, 0x28, 0x76, 0x5f, //   tmpvar_2 = (v_
 	0x74, 0x65, 0x78, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x30, 0x2e, 0x78, 0x20, 0x2a, 0x20, 0x36, 0x2e, // texcoord0.x * 6.
-	0x32, 0x38, 0x33, 0x31, 0x39, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x69, 0x67, 0x68, 0x70, 0x20, // 28319);.  highp
+	0x32, 0x38, 0x33, 0x31, 0x39, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x69, 0x67, 0x68, 0x70, 0x20, // 28319);.  highp 
 	0x66, 0x6c, 0x6f, 0x61, 0x74, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x33, 0x3b, 0x0a, // float tmpvar_3;.
 	0x20, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x33, 0x20, 0x3d, 0x20, 0x28, 0x76, 0x5f, //   tmpvar_3 = (v_
 	0x74, 0x65, 0x78, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x30, 0x2e, 0x79, 0x20, 0x2a, 0x20, 0x33, 0x2e, // texcoord0.y * 3.

+ 2 - 2
examples/common/imgui/makefile

@@ -5,8 +5,8 @@
 
 include ../../../scripts/shader-embeded.mk
 
-droidsans.ttf.h: ../runtime/font/droidsans.ttf
-	bin2c -f $(<) -o $(@) -n s_droidSansTtf
+droidsans.ttf.h: ../../runtime/font/droidsans.ttf
+	@bin2c -f $(<) -o $(@) -n s_droidSansTtf
 
 rebuild: droidsans.ttf.h
 	@make -s --no-print-directory clean all

+ 4 - 4
examples/common/imgui/vs_imgui_latlong.bin.h

@@ -10,16 +10,16 @@ static const uint8_t vs_imgui_latlong_glsl[337] =
 	0x69, 0x67, 0x68, 0x70, 0x20, 0x76, 0x65, 0x63, 0x32, 0x20, 0x76, 0x5f, 0x74, 0x65, 0x78, 0x63, // ighp vec2 v_texc
 	0x6f, 0x6f, 0x72, 0x64, 0x30, 0x3b, 0x0a, 0x75, 0x6e, 0x69, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x68, // oord0;.uniform h
 	0x69, 0x67, 0x68, 0x70, 0x20, 0x6d, 0x61, 0x74, 0x34, 0x20, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, // ighp mat4 u_mode
-	0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x3b, 0x0a, 0x76, 0x6f, 0x69, 0x64, 0x20, // lViewProj;.void
+	0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x3b, 0x0a, 0x76, 0x6f, 0x69, 0x64, 0x20, // lViewProj;.void 
 	0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x68, 0x69, 0x67, 0x68, // main ().{.  high
 	0x70, 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x31, 0x3b, // p vec4 tmpvar_1;
-	0x0a, 0x20, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x31, 0x2e, 0x77, 0x20, 0x3d, 0x20, // .  tmpvar_1.w =
+	0x0a, 0x20, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x31, 0x2e, 0x77, 0x20, 0x3d, 0x20, // .  tmpvar_1.w = 
 	0x31, 0x2e, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x31, 0x2e, // 1.0;.  tmpvar_1.
 	0x78, 0x79, 0x7a, 0x20, 0x3d, 0x20, 0x61, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, // xyz = a_position
-	0x3b, 0x0a, 0x20, 0x20, 0x67, 0x6c, 0x5f, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x20, // ;.  gl_Position
+	0x3b, 0x0a, 0x20, 0x20, 0x67, 0x6c, 0x5f, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x20, // ;.  gl_Position 
 	0x3d, 0x20, 0x28, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, // = (u_modelViewPr
 	0x6f, 0x6a, 0x20, 0x2a, 0x20, 0x74, 0x6d, 0x70, 0x76, 0x61, 0x72, 0x5f, 0x31, 0x29, 0x3b, 0x0a, // oj * tmpvar_1);.
-	0x20, 0x20, 0x76, 0x5f, 0x74, 0x65, 0x78, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x30, 0x20, 0x3d, 0x20, //   v_texcoord0 =
+	0x20, 0x20, 0x76, 0x5f, 0x74, 0x65, 0x78, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x30, 0x20, 0x3d, 0x20, //   v_texcoord0 = 
 	0x61, 0x5f, 0x74, 0x65, 0x78, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x30, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, // a_texcoord0;.}..
 	0x00,                                                                                           // .
 };

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


BIN
examples/runtime/shaders/glsl/cs_init_instances.bin


BIN
examples/runtime/shaders/glsl/cs_update_instances.bin


BIN
examples/runtime/shaders/glsl/fs_oit_wb.bin


BIN
examples/runtime/shaders/glsl/fs_oit_wb_separate.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_csm.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_omni.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_hblur.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_packdepth.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_linear.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth.bin


BIN
examples/runtime/shaders/glsl/fs_shadowmaps_vblur.bin


BIN
examples/runtime/shaders/glsl/fs_sms_mesh_pd.bin


BIN
examples/runtime/shaders/glsl/fs_sms_shadow_pd.bin