mittsu-opengl 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +18 -0
  3. data/.github/workflows/build-workflow.yml +67 -0
  4. data/.gitignore +12 -0
  5. data/.rubocop.yml +1158 -0
  6. data/CODE_OF_CONDUCT.md +13 -0
  7. data/Gemfile +9 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +195 -0
  10. data/Rakefile +8 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +7 -0
  13. data/install-glfw.ps1 +13 -0
  14. data/lib/mittsu/generic_lib.rb +116 -0
  15. data/lib/mittsu/glfw/lib.rb +58 -0
  16. data/lib/mittsu/glfw/window.rb +231 -0
  17. data/lib/mittsu/opengl/buffer.rb +13 -0
  18. data/lib/mittsu/opengl/default_target.rb +50 -0
  19. data/lib/mittsu/opengl/geometry_group.rb +758 -0
  20. data/lib/mittsu/opengl/geometry_like.rb +132 -0
  21. data/lib/mittsu/opengl/gl_debug.rb +85 -0
  22. data/lib/mittsu/opengl/gl_extensions.rb +42 -0
  23. data/lib/mittsu/opengl/gl_mittsu_params.rb +53 -0
  24. data/lib/mittsu/opengl/helper.rb +120 -0
  25. data/lib/mittsu/opengl/implementation.rb +31 -0
  26. data/lib/mittsu/opengl/lib.rb +19 -0
  27. data/lib/mittsu/opengl/light_renderer.rb +43 -0
  28. data/lib/mittsu/opengl/material_basics.rb +57 -0
  29. data/lib/mittsu/opengl/plugins/shadow_map_plugin.rb +416 -0
  30. data/lib/mittsu/opengl/plugins/sprite_fragment.glsl +38 -0
  31. data/lib/mittsu/opengl/plugins/sprite_plugin.rb +250 -0
  32. data/lib/mittsu/opengl/plugins/sprite_vertex.glsl +31 -0
  33. data/lib/mittsu/opengl/program.rb +250 -0
  34. data/lib/mittsu/opengl/renderer.rb +1028 -0
  35. data/lib/mittsu/opengl/shader/chunk.rb +11 -0
  36. data/lib/mittsu/opengl/shader/chunks/alphamap_fragment.glsl +5 -0
  37. data/lib/mittsu/opengl/shader/chunks/alphamap_pars_fragment.glsl +5 -0
  38. data/lib/mittsu/opengl/shader/chunks/alphatest_fragment.glsl +5 -0
  39. data/lib/mittsu/opengl/shader/chunks/bumpmap_pars_fragment.glsl +40 -0
  40. data/lib/mittsu/opengl/shader/chunks/color_fragment.glsl +5 -0
  41. data/lib/mittsu/opengl/shader/chunks/color_pars_fragment.glsl +5 -0
  42. data/lib/mittsu/opengl/shader/chunks/color_pars_vertex.glsl +5 -0
  43. data/lib/mittsu/opengl/shader/chunks/color_vertex.glsl +5 -0
  44. data/lib/mittsu/opengl/shader/chunks/common.glsl +60 -0
  45. data/lib/mittsu/opengl/shader/chunks/default_vertex.glsl +15 -0
  46. data/lib/mittsu/opengl/shader/chunks/defaultnormal_vertex.glsl +21 -0
  47. data/lib/mittsu/opengl/shader/chunks/envmap_fragment.glsl +62 -0
  48. data/lib/mittsu/opengl/shader/chunks/envmap_pars_fragment.glsl +21 -0
  49. data/lib/mittsu/opengl/shader/chunks/envmap_pars_vertex.glsl +7 -0
  50. data/lib/mittsu/opengl/shader/chunks/envmap_vertex.glsl +17 -0
  51. data/lib/mittsu/opengl/shader/chunks/fog_fragment.glsl +26 -0
  52. data/lib/mittsu/opengl/shader/chunks/fog_pars_fragment.glsl +15 -0
  53. data/lib/mittsu/opengl/shader/chunks/lightmap_fragment.glsl +5 -0
  54. data/lib/mittsu/opengl/shader/chunks/lightmap_pars_fragment.glsl +6 -0
  55. data/lib/mittsu/opengl/shader/chunks/lightmap_pars_vertex.glsl +5 -0
  56. data/lib/mittsu/opengl/shader/chunks/lightmap_vertex.glsl +5 -0
  57. data/lib/mittsu/opengl/shader/chunks/lights_lambert_pars_vertex.glsl +43 -0
  58. data/lib/mittsu/opengl/shader/chunks/lights_lambert_vertex.glsl +196 -0
  59. data/lib/mittsu/opengl/shader/chunks/lights_phong_fragment.glsl +243 -0
  60. data/lib/mittsu/opengl/shader/chunks/lights_phong_pars_fragment.glsl +58 -0
  61. data/lib/mittsu/opengl/shader/chunks/lights_phong_pars_vertex.glsl +5 -0
  62. data/lib/mittsu/opengl/shader/chunks/lights_phong_vertex.glsl +5 -0
  63. data/lib/mittsu/opengl/shader/chunks/linear_to_gamma_fragment.glsl +2 -0
  64. data/lib/mittsu/opengl/shader/chunks/logdepthbuf_fragment.glsl +5 -0
  65. data/lib/mittsu/opengl/shader/chunks/logdepthbuf_pars_fragment.glsl +12 -0
  66. data/lib/mittsu/opengl/shader/chunks/logdepthbuf_pars_vertex.glsl +11 -0
  67. data/lib/mittsu/opengl/shader/chunks/logdepthbuf_vertex.glsl +15 -0
  68. data/lib/mittsu/opengl/shader/chunks/map_fragment.glsl +9 -0
  69. data/lib/mittsu/opengl/shader/chunks/map_pars_fragment.glsl +11 -0
  70. data/lib/mittsu/opengl/shader/chunks/map_pars_vertex.glsl +6 -0
  71. data/lib/mittsu/opengl/shader/chunks/map_particle_fragment.glsl +5 -0
  72. data/lib/mittsu/opengl/shader/chunks/map_particle_pars_fragment.glsl +6 -0
  73. data/lib/mittsu/opengl/shader/chunks/map_vertex.glsl +5 -0
  74. data/lib/mittsu/opengl/shader/chunks/morphnormal_vertex.glsl +12 -0
  75. data/lib/mittsu/opengl/shader/chunks/morphtarget_pars_vertex.glsl +13 -0
  76. data/lib/mittsu/opengl/shader/chunks/morphtarget_vertex.glsl +20 -0
  77. data/lib/mittsu/opengl/shader/chunks/normalmap_pars_fragment.glsl +27 -0
  78. data/lib/mittsu/opengl/shader/chunks/shadowmap_fragment.glsl +216 -0
  79. data/lib/mittsu/opengl/shader/chunks/shadowmap_pars_fragment.glsl +19 -0
  80. data/lib/mittsu/opengl/shader/chunks/shadowmap_pars_vertex.glsl +6 -0
  81. data/lib/mittsu/opengl/shader/chunks/shadowmap_vertex.glsl +9 -0
  82. data/lib/mittsu/opengl/shader/chunks/skinbase_vertex.glsl +8 -0
  83. data/lib/mittsu/opengl/shader/chunks/skinning_pars_vertex.glsl +47 -0
  84. data/lib/mittsu/opengl/shader/chunks/skinning_vertex.glsl +20 -0
  85. data/lib/mittsu/opengl/shader/chunks/skinnormal_vertex.glsl +20 -0
  86. data/lib/mittsu/opengl/shader/chunks/specularmap_fragment.glsl +12 -0
  87. data/lib/mittsu/opengl/shader/chunks/specularmap_pars_fragment.glsl +5 -0
  88. data/lib/mittsu/opengl/shader/chunks/worldpos_vertex.glsl +17 -0
  89. data/lib/mittsu/opengl/shader/lib/basic/basic_fragment.rbsl +37 -0
  90. data/lib/mittsu/opengl/shader/lib/basic/basic_uniforms.rbslu +3 -0
  91. data/lib/mittsu/opengl/shader/lib/basic/basic_vertex.rbsl +33 -0
  92. data/lib/mittsu/opengl/shader/lib/cube/cube_fragment.rbsl +12 -0
  93. data/lib/mittsu/opengl/shader/lib/cube/cube_uniforms.rbslu +2 -0
  94. data/lib/mittsu/opengl/shader/lib/cube/cube_vertex.rbsl +12 -0
  95. data/lib/mittsu/opengl/shader/lib/depth_rgba/depth_rgba_fragment.rbsl +26 -0
  96. data/lib/mittsu/opengl/shader/lib/depth_rgba/depth_rgba_uniforms.rbslu +0 -0
  97. data/lib/mittsu/opengl/shader/lib/depth_rgba/depth_rgba_vertex.rbsl +12 -0
  98. data/lib/mittsu/opengl/shader/lib/lambert/lambert_fragment.rbsl +56 -0
  99. data/lib/mittsu/opengl/shader/lib/lambert/lambert_uniforms.rbslu +7 -0
  100. data/lib/mittsu/opengl/shader/lib/lambert/lambert_vertex.rbsl +37 -0
  101. data/lib/mittsu/opengl/shader/lib/particle_basic/particle_basic_fragment.rbsl +27 -0
  102. data/lib/mittsu/opengl/shader/lib/particle_basic/particle_basic_uniforms.rbslu +2 -0
  103. data/lib/mittsu/opengl/shader/lib/particle_basic/particle_basic_vertex.rbsl +25 -0
  104. data/lib/mittsu/opengl/shader/lib/phong/phong_fragment.rbsl +45 -0
  105. data/lib/mittsu/opengl/shader/lib/phong/phong_uniforms.rbslu +11 -0
  106. data/lib/mittsu/opengl/shader/lib/phong/phong_vertex.rbsl +43 -0
  107. data/lib/mittsu/opengl/shader/lib.rb +45 -0
  108. data/lib/mittsu/opengl/shader/rbsl_loader.rb +168 -0
  109. data/lib/mittsu/opengl/shader/templates/fragment.glsl.erb +105 -0
  110. data/lib/mittsu/opengl/shader/templates/vertex.glsl.erb +143 -0
  111. data/lib/mittsu/opengl/shader/uniforms_lib.rb +86 -0
  112. data/lib/mittsu/opengl/shader/uniforms_utils.rb +31 -0
  113. data/lib/mittsu/opengl/shader.rb +56 -0
  114. data/lib/mittsu/opengl/state.rb +205 -0
  115. data/lib/mittsu/opengl/version.rb +5 -0
  116. data/lib/mittsu/opengl.rb +2 -0
  117. data/lib/mittsu/opengl_implementation/core/buffer_geometry.rb +11 -0
  118. data/lib/mittsu/opengl_implementation/core/geometry.rb +346 -0
  119. data/lib/mittsu/opengl_implementation/core/object_3d.rb +134 -0
  120. data/lib/mittsu/opengl_implementation/lights/ambient_light.rb +26 -0
  121. data/lib/mittsu/opengl_implementation/lights/directional_light.rb +35 -0
  122. data/lib/mittsu/opengl_implementation/lights/hemisphere_light.rb +39 -0
  123. data/lib/mittsu/opengl_implementation/lights/light.rb +55 -0
  124. data/lib/mittsu/opengl_implementation/lights/point_light.rb +36 -0
  125. data/lib/mittsu/opengl_implementation/lights/spot_light.rb +47 -0
  126. data/lib/mittsu/opengl_implementation/materials/line_basic_material.rb +16 -0
  127. data/lib/mittsu/opengl_implementation/materials/material.rb +274 -0
  128. data/lib/mittsu/opengl_implementation/materials/mesh_basic_material.rb +21 -0
  129. data/lib/mittsu/opengl_implementation/materials/mesh_lambert_material.rb +33 -0
  130. data/lib/mittsu/opengl_implementation/materials/mesh_phong_material.rb +44 -0
  131. data/lib/mittsu/opengl_implementation/materials/point_cloud_material.rb +27 -0
  132. data/lib/mittsu/opengl_implementation/materials/shader_material.rb +11 -0
  133. data/lib/mittsu/opengl_implementation/objects/group.rb +9 -0
  134. data/lib/mittsu/opengl_implementation/objects/line.rb +45 -0
  135. data/lib/mittsu/opengl_implementation/objects/mesh.rb +70 -0
  136. data/lib/mittsu/opengl_implementation/objects/point_cloud.rb +39 -0
  137. data/lib/mittsu/opengl_implementation/objects/sprite.rb +12 -0
  138. data/lib/mittsu/opengl_implementation/scenes/scene.rb +9 -0
  139. data/lib/mittsu/opengl_implementation/textures/compressed_texture.rb +20 -0
  140. data/lib/mittsu/opengl_implementation/textures/cube_texture.rb +77 -0
  141. data/lib/mittsu/opengl_implementation/textures/data_texture.rb +21 -0
  142. data/lib/mittsu/opengl_implementation/textures/render_target.rb +124 -0
  143. data/lib/mittsu/opengl_implementation/textures/texture.rb +107 -0
  144. data/mittsu-opengl.gemspec +36 -0
  145. metadata +314 -0
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mittsu/opengl/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "mittsu-opengl"
8
+ spec.version = Mittsu::OpenGL::VERSION
9
+ spec.authors = ["Danielle Smith"]
10
+ spec.email = ["danini@hey.com"]
11
+
12
+ spec.summary = %q{OpenGL renderer for Mittsu}
13
+ spec.description = %q{OpenGL 3 renderer for Mittsu using GLFW for context creation}
14
+ spec.homepage = "https://github.com/danini-the-panini/mittsu"
15
+ spec.license = "MIT"
16
+ spec.metadata = {
17
+ "bug_tracker" => "https://github.com/danini-the-panini/mittsu/issues"
18
+ }
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{(^(test|examples)/|\.sh$)}) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.required_ruby_version = '>= 2.6.0'
24
+ spec.requirements << 'OpenGL 3.3+ capable hardware and drivers'
25
+
26
+ spec.add_runtime_dependency 'opengl-bindings2'
27
+ spec.add_runtime_dependency 'fiddle'
28
+ spec.add_runtime_dependency 'mittsu'
29
+
30
+ spec.add_development_dependency "bundler"
31
+ spec.add_development_dependency "rake"
32
+ spec.add_development_dependency 'minitest'
33
+ spec.add_development_dependency 'minitest-reporters'
34
+ spec.add_development_dependency 'benchmark-ips'
35
+ spec.add_development_dependency 'simplecov', '0.17.1'
36
+ end
metadata ADDED
@@ -0,0 +1,314 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mittsu-opengl
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
+ platform: ruby
6
+ authors:
7
+ - Danielle Smith
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-11-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: opengl-bindings2
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: fiddle
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mittsu
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest-reporters
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: benchmark-ips
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 0.17.1
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 0.17.1
139
+ description: OpenGL 3 renderer for Mittsu using GLFW for context creation
140
+ email:
141
+ - danini@hey.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".codeclimate.yml"
147
+ - ".github/workflows/build-workflow.yml"
148
+ - ".gitignore"
149
+ - ".rubocop.yml"
150
+ - CODE_OF_CONDUCT.md
151
+ - Gemfile
152
+ - LICENSE.txt
153
+ - README.md
154
+ - Rakefile
155
+ - bin/console
156
+ - bin/setup
157
+ - install-glfw.ps1
158
+ - lib/mittsu/generic_lib.rb
159
+ - lib/mittsu/glfw/lib.rb
160
+ - lib/mittsu/glfw/window.rb
161
+ - lib/mittsu/opengl.rb
162
+ - lib/mittsu/opengl/buffer.rb
163
+ - lib/mittsu/opengl/default_target.rb
164
+ - lib/mittsu/opengl/geometry_group.rb
165
+ - lib/mittsu/opengl/geometry_like.rb
166
+ - lib/mittsu/opengl/gl_debug.rb
167
+ - lib/mittsu/opengl/gl_extensions.rb
168
+ - lib/mittsu/opengl/gl_mittsu_params.rb
169
+ - lib/mittsu/opengl/helper.rb
170
+ - lib/mittsu/opengl/implementation.rb
171
+ - lib/mittsu/opengl/lib.rb
172
+ - lib/mittsu/opengl/light_renderer.rb
173
+ - lib/mittsu/opengl/material_basics.rb
174
+ - lib/mittsu/opengl/plugins/shadow_map_plugin.rb
175
+ - lib/mittsu/opengl/plugins/sprite_fragment.glsl
176
+ - lib/mittsu/opengl/plugins/sprite_plugin.rb
177
+ - lib/mittsu/opengl/plugins/sprite_vertex.glsl
178
+ - lib/mittsu/opengl/program.rb
179
+ - lib/mittsu/opengl/renderer.rb
180
+ - lib/mittsu/opengl/shader.rb
181
+ - lib/mittsu/opengl/shader/chunk.rb
182
+ - lib/mittsu/opengl/shader/chunks/alphamap_fragment.glsl
183
+ - lib/mittsu/opengl/shader/chunks/alphamap_pars_fragment.glsl
184
+ - lib/mittsu/opengl/shader/chunks/alphatest_fragment.glsl
185
+ - lib/mittsu/opengl/shader/chunks/bumpmap_pars_fragment.glsl
186
+ - lib/mittsu/opengl/shader/chunks/color_fragment.glsl
187
+ - lib/mittsu/opengl/shader/chunks/color_pars_fragment.glsl
188
+ - lib/mittsu/opengl/shader/chunks/color_pars_vertex.glsl
189
+ - lib/mittsu/opengl/shader/chunks/color_vertex.glsl
190
+ - lib/mittsu/opengl/shader/chunks/common.glsl
191
+ - lib/mittsu/opengl/shader/chunks/default_vertex.glsl
192
+ - lib/mittsu/opengl/shader/chunks/defaultnormal_vertex.glsl
193
+ - lib/mittsu/opengl/shader/chunks/envmap_fragment.glsl
194
+ - lib/mittsu/opengl/shader/chunks/envmap_pars_fragment.glsl
195
+ - lib/mittsu/opengl/shader/chunks/envmap_pars_vertex.glsl
196
+ - lib/mittsu/opengl/shader/chunks/envmap_vertex.glsl
197
+ - lib/mittsu/opengl/shader/chunks/fog_fragment.glsl
198
+ - lib/mittsu/opengl/shader/chunks/fog_pars_fragment.glsl
199
+ - lib/mittsu/opengl/shader/chunks/lightmap_fragment.glsl
200
+ - lib/mittsu/opengl/shader/chunks/lightmap_pars_fragment.glsl
201
+ - lib/mittsu/opengl/shader/chunks/lightmap_pars_vertex.glsl
202
+ - lib/mittsu/opengl/shader/chunks/lightmap_vertex.glsl
203
+ - lib/mittsu/opengl/shader/chunks/lights_lambert_pars_vertex.glsl
204
+ - lib/mittsu/opengl/shader/chunks/lights_lambert_vertex.glsl
205
+ - lib/mittsu/opengl/shader/chunks/lights_phong_fragment.glsl
206
+ - lib/mittsu/opengl/shader/chunks/lights_phong_pars_fragment.glsl
207
+ - lib/mittsu/opengl/shader/chunks/lights_phong_pars_vertex.glsl
208
+ - lib/mittsu/opengl/shader/chunks/lights_phong_vertex.glsl
209
+ - lib/mittsu/opengl/shader/chunks/linear_to_gamma_fragment.glsl
210
+ - lib/mittsu/opengl/shader/chunks/logdepthbuf_fragment.glsl
211
+ - lib/mittsu/opengl/shader/chunks/logdepthbuf_pars_fragment.glsl
212
+ - lib/mittsu/opengl/shader/chunks/logdepthbuf_pars_vertex.glsl
213
+ - lib/mittsu/opengl/shader/chunks/logdepthbuf_vertex.glsl
214
+ - lib/mittsu/opengl/shader/chunks/map_fragment.glsl
215
+ - lib/mittsu/opengl/shader/chunks/map_pars_fragment.glsl
216
+ - lib/mittsu/opengl/shader/chunks/map_pars_vertex.glsl
217
+ - lib/mittsu/opengl/shader/chunks/map_particle_fragment.glsl
218
+ - lib/mittsu/opengl/shader/chunks/map_particle_pars_fragment.glsl
219
+ - lib/mittsu/opengl/shader/chunks/map_vertex.glsl
220
+ - lib/mittsu/opengl/shader/chunks/morphnormal_vertex.glsl
221
+ - lib/mittsu/opengl/shader/chunks/morphtarget_pars_vertex.glsl
222
+ - lib/mittsu/opengl/shader/chunks/morphtarget_vertex.glsl
223
+ - lib/mittsu/opengl/shader/chunks/normalmap_pars_fragment.glsl
224
+ - lib/mittsu/opengl/shader/chunks/shadowmap_fragment.glsl
225
+ - lib/mittsu/opengl/shader/chunks/shadowmap_pars_fragment.glsl
226
+ - lib/mittsu/opengl/shader/chunks/shadowmap_pars_vertex.glsl
227
+ - lib/mittsu/opengl/shader/chunks/shadowmap_vertex.glsl
228
+ - lib/mittsu/opengl/shader/chunks/skinbase_vertex.glsl
229
+ - lib/mittsu/opengl/shader/chunks/skinning_pars_vertex.glsl
230
+ - lib/mittsu/opengl/shader/chunks/skinning_vertex.glsl
231
+ - lib/mittsu/opengl/shader/chunks/skinnormal_vertex.glsl
232
+ - lib/mittsu/opengl/shader/chunks/specularmap_fragment.glsl
233
+ - lib/mittsu/opengl/shader/chunks/specularmap_pars_fragment.glsl
234
+ - lib/mittsu/opengl/shader/chunks/worldpos_vertex.glsl
235
+ - lib/mittsu/opengl/shader/lib.rb
236
+ - lib/mittsu/opengl/shader/lib/basic/basic_fragment.rbsl
237
+ - lib/mittsu/opengl/shader/lib/basic/basic_uniforms.rbslu
238
+ - lib/mittsu/opengl/shader/lib/basic/basic_vertex.rbsl
239
+ - lib/mittsu/opengl/shader/lib/cube/cube_fragment.rbsl
240
+ - lib/mittsu/opengl/shader/lib/cube/cube_uniforms.rbslu
241
+ - lib/mittsu/opengl/shader/lib/cube/cube_vertex.rbsl
242
+ - lib/mittsu/opengl/shader/lib/depth_rgba/depth_rgba_fragment.rbsl
243
+ - lib/mittsu/opengl/shader/lib/depth_rgba/depth_rgba_uniforms.rbslu
244
+ - lib/mittsu/opengl/shader/lib/depth_rgba/depth_rgba_vertex.rbsl
245
+ - lib/mittsu/opengl/shader/lib/lambert/lambert_fragment.rbsl
246
+ - lib/mittsu/opengl/shader/lib/lambert/lambert_uniforms.rbslu
247
+ - lib/mittsu/opengl/shader/lib/lambert/lambert_vertex.rbsl
248
+ - lib/mittsu/opengl/shader/lib/particle_basic/particle_basic_fragment.rbsl
249
+ - lib/mittsu/opengl/shader/lib/particle_basic/particle_basic_uniforms.rbslu
250
+ - lib/mittsu/opengl/shader/lib/particle_basic/particle_basic_vertex.rbsl
251
+ - lib/mittsu/opengl/shader/lib/phong/phong_fragment.rbsl
252
+ - lib/mittsu/opengl/shader/lib/phong/phong_uniforms.rbslu
253
+ - lib/mittsu/opengl/shader/lib/phong/phong_vertex.rbsl
254
+ - lib/mittsu/opengl/shader/rbsl_loader.rb
255
+ - lib/mittsu/opengl/shader/templates/fragment.glsl.erb
256
+ - lib/mittsu/opengl/shader/templates/vertex.glsl.erb
257
+ - lib/mittsu/opengl/shader/uniforms_lib.rb
258
+ - lib/mittsu/opengl/shader/uniforms_utils.rb
259
+ - lib/mittsu/opengl/state.rb
260
+ - lib/mittsu/opengl/version.rb
261
+ - lib/mittsu/opengl_implementation/core/buffer_geometry.rb
262
+ - lib/mittsu/opengl_implementation/core/geometry.rb
263
+ - lib/mittsu/opengl_implementation/core/object_3d.rb
264
+ - lib/mittsu/opengl_implementation/lights/ambient_light.rb
265
+ - lib/mittsu/opengl_implementation/lights/directional_light.rb
266
+ - lib/mittsu/opengl_implementation/lights/hemisphere_light.rb
267
+ - lib/mittsu/opengl_implementation/lights/light.rb
268
+ - lib/mittsu/opengl_implementation/lights/point_light.rb
269
+ - lib/mittsu/opengl_implementation/lights/spot_light.rb
270
+ - lib/mittsu/opengl_implementation/materials/line_basic_material.rb
271
+ - lib/mittsu/opengl_implementation/materials/material.rb
272
+ - lib/mittsu/opengl_implementation/materials/mesh_basic_material.rb
273
+ - lib/mittsu/opengl_implementation/materials/mesh_lambert_material.rb
274
+ - lib/mittsu/opengl_implementation/materials/mesh_phong_material.rb
275
+ - lib/mittsu/opengl_implementation/materials/point_cloud_material.rb
276
+ - lib/mittsu/opengl_implementation/materials/shader_material.rb
277
+ - lib/mittsu/opengl_implementation/objects/group.rb
278
+ - lib/mittsu/opengl_implementation/objects/line.rb
279
+ - lib/mittsu/opengl_implementation/objects/mesh.rb
280
+ - lib/mittsu/opengl_implementation/objects/point_cloud.rb
281
+ - lib/mittsu/opengl_implementation/objects/sprite.rb
282
+ - lib/mittsu/opengl_implementation/scenes/scene.rb
283
+ - lib/mittsu/opengl_implementation/textures/compressed_texture.rb
284
+ - lib/mittsu/opengl_implementation/textures/cube_texture.rb
285
+ - lib/mittsu/opengl_implementation/textures/data_texture.rb
286
+ - lib/mittsu/opengl_implementation/textures/render_target.rb
287
+ - lib/mittsu/opengl_implementation/textures/texture.rb
288
+ - mittsu-opengl.gemspec
289
+ homepage: https://github.com/danini-the-panini/mittsu
290
+ licenses:
291
+ - MIT
292
+ metadata:
293
+ bug_tracker: https://github.com/danini-the-panini/mittsu/issues
294
+ post_install_message:
295
+ rdoc_options: []
296
+ require_paths:
297
+ - lib
298
+ required_ruby_version: !ruby/object:Gem::Requirement
299
+ requirements:
300
+ - - ">="
301
+ - !ruby/object:Gem::Version
302
+ version: 2.6.0
303
+ required_rubygems_version: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - ">="
306
+ - !ruby/object:Gem::Version
307
+ version: '0'
308
+ requirements:
309
+ - OpenGL 3.3+ capable hardware and drivers
310
+ rubygems_version: 3.5.23
311
+ signing_key:
312
+ specification_version: 4
313
+ summary: OpenGL renderer for Mittsu
314
+ test_files: []