This includes:Ī map featuring Static Meshes, Landscape, and Foliage where their materials or master materials have MF_SphericalShader addedĪ player character with the blueprint component BPC_SphericalShader added to itĪdditional functionality to demonstrate changing radii. MPC_SphericalShader: The Material Parameter Collection that adjusts parameters in the Material FunctionīPC_SphericalShader: The Blueprint Component that is added to the player character, or other actor, which the sphere effect should move withĪdditional demo content which showcases the spherical effect will be added to the folder Content/SphericalShader/Demo.
MF_SphericalShader: The Material Function with all the shader logic to create the sphere effect When Spherical Shader is added to your project, the following required content will be added to the folder Content/SphericalShader/Shader. For detailed instructions, see the tutorial section below. That’s it! The settings are adjusted in the Blueprint Component on the player character. To use the shader effect:Īdd the Material Function MF_SphericalShader to your material and plug it into the World Position OffsetĪdd the Blueprint Component BPC_SphericalShader to the player character blueprint They are controlled by the Blueprint Component. Although a Material Parameter Collection is used by the Material Function, its parameters do not need to be directly set. Spherical Shader allows you to create the illusion of a spherical world by simply using a Material Function and a Blueprint Component. User guide version 0.1.0.0 for Spherical Shader, available on the UE4 Marketplace here.