linux-wallpaperengine/docs/rendering/SOUND_OBJECTS.md
Alexis Maiquez 5828b2ee80 + added some extra documentation on rendering based on observations and trial and error
~ deprecated --dir --pkg options, the software will automatically detect the background we're loading
+ first draft of FBO support, there's still some extra work to do
~ texture header is now hidden behind getters so the textures can be any kind of source
~ proper setting of resolution and translation variables for textures
~ simplified call flow for any pass rendering, removing render functions on effect and material
~ framebuffer setup has to happen before object setup in the scene

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-09-27 01:39:23 +02:00

12 lines
636 B
Markdown

# Sound objects
These are the simplest ones. They contain a simple list of sounds to play (one after another? needs to be confirmed) and simple information like volume, playmode, etc...
## Specific json entries
- sound: An array of music files to play
- volume: The volume to play the music at. 0.0f - 1.0f
- mintime: The minimum delay between background rendering starting and sound starting
- maxtime: The maximum delay between background rendering starting and sound starting
- playbackmode: Whether the sound has to be looped or played oneshot...
## Editor json entries
- muteineditor: Whether the sound has to be muted by default