Camera Effect
This component belongs to the following package:
- com.yahaha.sdk.graphics
 
Description
This Camera Effect component enables you to manage various effects applied to the camera and adjust all associated settings.
Properties
| Attributes | Description | 
|---|---|
| Is Global | When enabled, the effect will be applied globally to all cameras in the scene, affecting the entire game's visual output. Enabled by default. | 
| Effect Type | Specifies the type of effect to apply. For a list of all available effect types and related settings, see below. | 
Effect types and related settings
None
When the Effect Type is set to None, no other configurations are required.
Blood
| Attributes | Description | 
|---|---|
| Blood Color | Defines the color of the blood effect, allowing customization to fit the visual style of the game. | 
| Blood1 | Adjusts the intensity and spread of the first blood overlay effect. Ranges from 0 to 128. Default: 0. | 
| Blood2 | Adjusts the intensity and spread of the second blood overlay effect. Ranges from 0 to 128. Default: 20. | 
| Blood3 | Adjusts the intensity and spread of the third blood overlay effect. Ranges from 0 to 128. Default: 0. | 
| Blood4 | Adjusts the intensity and spread of the fourth blood overlay effect. Ranges from 0 to 128. Default: 20. | 
TV Artefact
| Attributes | Description | 
|---|---|
| Fade | Controls the fade-in and fade-out of visual artifacts to create dynamic visual interest or simulate interference. Ranges from 0 to 1. Default: 0.43. | 
| Colorisation | Adds color-based visual artifacts, enhancing the effect of distortion or damage on the screen. Ranges from -10 to 10. Default: 1.76. | 
| Parasite | Introduces parasitic, possibly animated artifacts that disrupt the normal view, simulating digital or analog interference. Ranges from -10 to 10. Default: 0. | 
| Noise | Adds noise artifacts to the camera view, mimicking grain or static effects. Ranges from -10 to 10. Default: 2.22. | 
Broken Glass
| Attributes | Description | 
|---|---|
| Broken_Small | Simulates small-scale damage to the camera or viewport. Ranges from 0 to 128. Default: 11. | 
| Broken_Medium | Simulates medium-scale damage to the camera or viewport. Ranges from 0 to 128. Default: 85. | 
| Broken_High | Simulates extensive damage to the camera or viewport. Ranges from 0 to 128. Default: 30. | 
| Broken_Big | Simulates large and significant damage to the camera or viewport. Ranges from 0 to 128. Default: 75. | 
Old Film Cutting
| Attributes | Description | 
|---|---|
| Speed | Adjusts the emulation of film speed, affecting how motion blur and exposure are handled. Ranges from 0 to 10. Default: 0.92. | 
| Luminosity | Modifies the overall luminosity of the film effect, adjusting brightness and contrast dynamically. Ranges from 0 to 2. Default: 0.01. | 
| Vignette | Applies a vignette effect, darkening the edges of the screen to focus attention on the center. Ranges from 0 to 1. Default: 1. | 
| Negative | Creates a negative film effect, inverting colors and adding a unique stylistic touch. Ranges from 0 to 2. Default: 0.4. | 
| Film Texture | Applies a textured overlay that mimics the look of different types of film grains. Default: OldFilm. | 
ColorRGB
| Attributes | Description | 
|---|---|
| ColorRGB | Controls the RGB color balance, allowing for subtle or dramatic shifts in coloration. | 
Night Vision
| Attributes | Description | 
|---|---|
| Fade FX | Applies a night vision effect, enhancing visibility under low light conditions while adding a characteristic green hue. Ranges from 0 to 1. Default: 0.5. | 
| Vignette | Adds a soft or hard vignette effect to the edges of the screen, which can be used to focus player attention or mimic camera lens characteristics. Ranges from 0 to 10. Default: 1.45. | 
| Vignette Smoothness | Controls the smoothness of the vignette transition from center to edge, allowing for a more natural or stylized effect. Ranges from 0 to 20. Default: 15. | 
| Scan Line | Simulates the appearance of scan lines, reminiscent of old CRT monitors, adding a retro feel to the game. Ranges from 0 to 2. Default: 0.7. | 
Real VHS
| Attributes | Description | 
|---|---|
| Tracking | Emulates VHS tape tracking errors, adding horizontal jitter and disruption effects that enhance a retro aesthetic. Ranges from 0 to 1. Default: 0.69. | 
| Jitter | Introduces jitter to the camera effect, mimicking old VHS tape playback inconsistencies. Ranges from 0 to 1. Default: 0.79. | 
| Glitch | Creates glitches that replicate VHS tape damage or playback errors, useful for creating a sense of age or malfunction. Ranges from 0 to 1. Default: 0.69. | 
| Noise | Adds visual noise typical of VHS tape playback, contributing to a gritty, aged film look. Ranges from 0 to 1. Default: 0.32. | 
| Brightness | Adjusts the brightness level to mimic the dynamic range of VHS tape recordings. Ranges from -1 to 1. Default: -0.7. | 
| Contrast | Modifies the contrast to emulate the limited contrast range of VHS tapes. Ranges from 0 to 1.5. Default: 0.28. | 
| VHSTexture1 | Applies the first layer of VHS tape texture, enhancing the realism of the VHS effect. Default: RealVHS1. | 
| VHSTexture2 | Applies a secondary layer of VHS tape texture for additional depth and authenticity. Default: RealVHS2. | 
TV Distorted
| Attributes | Description | 
|---|---|
| Distortion | Creates a distorted visual effect, warping and twisting the image in a dynamic or static pattern. Ranges from 0 to 10. Default: 2.9. | 
| RGB Split | Splits the RGB channels, creating a chromatic aberration effect that can simulate physical lens distortions or digital errors. Ranges from -0.01 to 0.01. Default: 0.01. | 
TV Horror
| Attributes | Description | 
|---|---|
| Fade | Applies a fading effect tailored for horror settings, enhancing the eerie and unsettling atmosphere. Ranges from 0 to 1. Default: 0.7. | 
| Distortion | Introduces distortion effects specifically designed to create a disorienting and frightening visual experience. Ranges from 0 to 1. Default: 0. | 
| Horror Texture | Overlays a texture that enhances the horror theme, adding elements like fog, blood spatter, or supernatural phenomena. Default: TVHorror. | 
TV Noise
| Attributes | Description | 
|---|---|
| Fade | Simulates the fading in and out of TV noise, useful for transitions or to imply technological manipulation. Ranges from 0 to 1. Default: 0.8. | 
VHS Rewind
| Attributes | Description | 
|---|---|
| Cryptage | Emulates the encryption artifacts associated with old VHS tapes, adding a layer of nostalgia or degradation. Ranges from 0 to 1. Default: 0.5. | 
| Parasite1 | Introduces visual parasites that mimic VHS tape damage, enhancing the vintage feel or creating a sense of decay. Ranges from -20 to 20. Default: -1.9. | 
| Parasite2 | Adds a second layer of VHS parasite effects, increasing the complexity and depth of the visual disruption. Ranges from -20 to 20. Default: -12.9. | 
| White Parasite | Features white noise and other bright artifacts typical of VHS damage, contrasting with darker visual elements. Ranges from 0 to 1. Default: 0. | 
Fade to Black
| Attributes | Description | 
|---|---|
| PlayOnce | Click this button to preview the fade effect in Edit Mode. Disabled by default. | 
| Black Time Scale | Specifies the duration, in seconds, that the screen remains black out. Ranges from 0.25 to 3. Default: 0.6. | 
Flash
| Attributes | Description | 
|---|---|
| Flash Play | Determines whether the flash effect is shown in Edit Mode. Enabled by default. | 
| Flash Speed | Adjusts how quickly the flash effect occur, ranging from 0.1 to 2. Default: 0.25. | 
| Flash Interval | Defines the time interval between each flash in seconds, ranging from 0.25 to 3. Default: 1.5. |