EmptyEpsilon
EmptyEpsilon copied to clipboard
Add Wormhole Shader with Inward Movement Effect
Summary
This PR introduces a new shader for the awesome wormhole graphic created by @aBlueShadow. The shader adds minor movement to the texture, simulating an inward pulling effect, as seen below.
Changes Made
- Shader file:
- Created a new shader file (
wormhole.shader) specifically for the wormhole graphic. - Implemented the logic to animate the texture with a pull-inward effect.
- Created a new shader file (
- ShaderRegistry:
- Added a time uniform to the ShaderRegistry to support the new shader's animation needs.
- Wormhole SpaceObject:
- Included the
engineheader to enableengine->getElapsedTime()for the uniform.
- Included the