3D Sprite Shadows and Animation
AlpaSun Development
$6.99
$9.99
30%OFF
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/11(2022) |
15.99 |
03/11(2022) |
11.19 |
03/24(2022) |
15.99 |
11/04(2022) |
9.99 |
01/07(2023) |
4.99 |
01/20(2023) |
9.99 |
02/06(2024) |
6.99 |
11/22(2024) |
6.99 |
Jump AssetStore
Animate and cast shadows from sprites in a 3D environment. Contains a sprite shadow shader for all pipelines - URP, HDRP, and built-in.This template, the shader, and the sample scene were created in URP, but the shader will also work with the built-in pipeline. The code will work with any pipeline, but the shadows do not work correctly in HDRP.SCRIPT: Use animated sprites in a 3D environment by simply dropping one script on your object.SHADER: Cast shadows from sprites onto your 3D environment with proper shadow cut outs.The shadows are true projected shadows based on the lights in the scene, not just masked sprites projected onto the ground.All you need is a quad object and a sprite or sprite sheet. The shader and animation scripts can be used independently or combined for animated sprites with shadows.Main features include:Full sample project created in URP to demonstrate the assetShader created in Shader Graph for easy editing3 separate shaders verified in all pipelines - URP, HDRP, built-in pipelinesProperly cut out shadows from spritesStatic or moving animated sprites in a 3D environment with shadowsWorks on a simple quad object with sprite sheet materialSprite sheets can contain multiple animations or just the one you will be usingAnimated character example script that moves an NPC aroundInstructions on how to use the shader in all pipelinesTotal number of sprite frames can be set for the script in the UIOptional HDR based emissive glow can be added to sprites through the existing shaderSupport:All of my templates and assets will have continuous supportSupport, feedback, or questions: alpasun.games@gmail.comCheck out my other assets:https://assetstore.unity.com/publishers/60903As a professional C# developer with over 12 years experience, my code is well commented, organized, and clearly laid out. There are XML comments for every class and most methods.Assets used for this sample are for demonstration purposes only and were taken from a Unity created example project as listed below.The code and scripts will work with any pipeline. The included project targets URP, but the documentation includes instructions on how to use the shader in the built-in or HDRP pipelines.The sample project and scene contain an example of an animated 2D character walking around a simple environment. There are also examples of static animated sprites in the environment. Easily expand the example to manually control the character or add additional movement and collision logic.Unity created example project:https://assetstore.unity.com/packages/templates/tutorials/creator-kit-rpg-149309