Class: Rendering::DepthDebugEffect
- Inherits:
-
Object
- Object
- Rendering::DepthDebugEffect
- Includes:
- SinglePassEffect
- Defined in:
- lib/engine/rendering/post_processing/depth_debug_effect.rb
Instance Attribute Summary
Attributes included from SinglePassEffect
Attributes included from Effect
Instance Method Summary collapse
-
#initialize ⇒ DepthDebugEffect
constructor
A new instance of DepthDebugEffect.
Methods included from SinglePassEffect
Constructor Details
#initialize ⇒ DepthDebugEffect
Returns a new instance of DepthDebugEffect.
7 8 9 10 11 12 13 14 15 |
# File 'lib/engine/rendering/post_processing/depth_debug_effect.rb', line 7 def initialize @material = Engine::Material.create( shader: Engine::Shader.for( 'fullscreen_vertex.glsl', 'post_process/depth_debug_frag.glsl', source: :engine ) ) end |