User Tools

Site Tools


sdk_component_audio_reactive_material_renderer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sdk_component_audio_reactive_material_renderer [2019/10/31 09:27]
123
sdk_component_audio_reactive_material_renderer [2019/10/31 09:38] (current)
123
Line 3: Line 3:
 The Audio Reactive Material Renderer can be used to render [[sdk_how_to_create_audio_reactive_shaders|audio reactive materials]] to one or more [[https://​docs.unity3d.com/​Manual/​class-RenderTexture.html|Render Textures]] each frame. ​ The Audio Reactive Material Renderer can be used to render [[sdk_how_to_create_audio_reactive_shaders|audio reactive materials]] to one or more [[https://​docs.unity3d.com/​Manual/​class-RenderTexture.html|Render Textures]] each frame. ​
  
-The Audio Reactive Material Renderer receives the audio analysis data (beat detection and energy levels) from the application,​ processes it using the active [[sdk asset Program Material Renderer Configuration|Program Material Renderer Configuration]] and uses the results to update the properties of the [[sdk_how_to_create_audio_reactive_shaders|audio reactive material]] referenced in the configuration. Afterwards that material is rendered to all of the assigned Render Textures, which in turn can be used as textures in other materials.+The **Audio Reactive Material Renderer** receives the audio analysis data (beat detection and energy levels) from the application,​ processes it using the active [[sdk asset Program Material Renderer Configuration|Program Material Renderer Configuration]] and uses the results to update the properties of the [[sdk_how_to_create_audio_reactive_shaders|audio reactive material]] referenced in the configuration. Afterwards that material is rendered to all of the assigned Render Textures, which in turn can be used as textures in other materials.
  
-As an example, this method is used to render the audio reactive visuals displayed on the LED wall behind the DJ booth in the Club and SDK example environments. The Audio Reactive Material Renderer can be tested in the Unity Editor using the Audio Reaction Emulator. ​+As an example, this method is used to render the audio reactive visuals displayed on the LED wall behind the DJ booth in the Club and SDK example environments. The **Audio Reactive Material Renderer** can be tested in the Unity Editor using the [[sdk_testing_audio_reactive_components_in_the_unity_editor|Audio Reaction Emulator]]
  
 To be able to switch between different materials when the music’s Energy Level changes, [[sdk asset Program Material Renderer Configuration|Program Material Renderer Configuration]] assets can be used to link a material to a one or more corresponding Energy Levels. To be able to switch between different materials when the music’s Energy Level changes, [[sdk asset Program Material Renderer Configuration|Program Material Renderer Configuration]] assets can be used to link a material to a one or more corresponding Energy Levels.
  
-Please note that the Program Material Renderer Configuration assets added to the Audio Reactive Material Renderer need to cover all of the existing Energy Levels. An error message will be displayed in the inspector if this is not the case. +Please note that the Program Material Renderer Configuration assets added to the **Audio Reactive Material Renderer** need to cover all of the existing Energy Levels. An error message will be displayed in the inspector if this is not the case. 
  
 ===== Component Properties ===== ===== Component Properties =====
sdk_component_audio_reactive_material_renderer.txt · Last modified: 2019/10/31 09:38 by 123