sep 2022 / art, game dev / HLSL

VFX: General Solution

By Haotian Ma

VFX created using the VFX General Solution


Introduction

VFX General Solution is a robust and versatile tool for Unity that packages a comprehensive library of shaders, allowing users to create any form of visual effect they desire with minimal manual adjustments. This open-box tool is designed with an intuitive and user-friendly interface, ensuring that users of all skill levels can easily create stunning visual effects.

The shaders included in VFX General Solution cover a broad range of visual effects, from simple surface shaders to complex image effects such as distortion, refraction, and more. Users can effortlessly tweak the parameters of these shaders, and see the changes in real-time, ensuring that the desired effect is achieved with minimal fuss.

One of the key benefits of VFX General Solution is its compatibility with various platforms and render pipelines. The tool is compatible with Unity's built-in render pipeline, as well as the Universal Render Pipeline and High Definition Render Pipeline, ensuring that users can create visual effects for any platform.

The VFX General Solution tool is also designed to be convenient and handy, with features such as drag-and-drop functionality, asset management tools, and an extensive library of pre-built assets. This ensures that users can quickly and easily create stunning visual effects, without spending too much time on manual adjustments.

Packaged Shaders

  • Main Texture: This is the primary material channel that uses the grayscale or R-space of the texture. It can be used to control the overall appearance of the effect.

  • MainTexture Properties: This feature allows you to set the UV offset speed to create dynamic effects, and to control the color threshold.

  • Cutoff: This feature removes fragments that are too bright or too dark from the material.

  • [HDR]Color: This feature allows you to set the HDR color for the material.

  • GradientMap: This feature maps the brightness of the material to a gradient texture, which is then applied to the fragments.

  • Secondary Texture: This feature provides an additional material channel and allows you to choose a blend mode for the two textures.

  • Swirl: This feature applies a UV rotation transformation to the material.

  • Polar Coordinate: This feature applies a polar coordinate transformation to the material.

  • Displacement: This feature applies a UV displacement sampling effect to the material.

  • Vertex Offset: This feature allows you to offset the vertices of the material.

  • Lighting: This feature allows you to toggle the lighting (shadow) effect on or off.

  • Burn: This feature applies a burning effect to the edges of the material.

  • Screen Space Texture: This feature applies a material to the screen space.

  • Mask: This feature allows you to set circular, rectangular, and Fresnel masks for the material.

  • BlendMode: This feature allows you to set the blend mode for the material.

  • CullMode: This feature allows you to set the cull mode for the material.

Features

  1. Main Texture channel for creating stunning visual effects.

  2. MainTexture Properties for setting UV offset speed and controlling color threshold.

  3. Cutoff for deleting fragments with too high or too low brightness.

  4. HDR Color for setting high dynamic range colors.

  5. GradientMap for mapping brightness to a gradient map and applying it to fragments.

  6. Secondary Texture channel with blend mode options.

  7. Swirl for rotating and deforming UV coordinates.

  8. Polar Coordinate for transforming UV coordinates into polar coordinates.

  9. Displacement for sampling UV displacement.

  10. Vertex Offset for offsetting vertices.

  11. Lighting for turning on or off lighting and shadows.

  12. Burn for creating a burning effect on the edges.

  13. Screen Space Texture for screen space materials.

  14. Mask for creating circular, rectangular, and Fresnel masks.

  15. BlendMode for setting blend modes.

  16. CullMode for setting culling modes.

  17. Post-processing effects such as bloom, color grading, and vignette.

  18. Community-driven platform for sharing and downloading custom shaders and effects.

  19. Fixed bugs in Swirl, Polar Coordinate, and Vertex Offset features.

  20. Added second Pass channel for vertex scaling and outline rendering.

  21. Main Texture channel can be blended with Main VFX Texture for more complex effects.

  22. Lighting features including Sharp Lighting, Lighting Lambert Shading, and Diffuse parameters.

  23. LineHatching feature for highlighting selections with adjustable line width, frequency, speed, rotation, transparency, outline, outline weight, and line color.