Shadertoy GLSLto HLSL in UE4 Niagara and Material Custom node.

Support me on – https://www.patreon.com/Ashif
Support me on – paypal.me/9953280644
Hi guys this is another video of hlsl. in this video i have converted shadertoy glsl code into hlsl code for ue4 material custom node and ue4 Niagara hlsl node. i have describe what changes i made to convert this code. i hope it will help you if you r also learning hlsl like me.

#cghow #RealtimeVFX #UE4Niagara #gamefx #ue4vfx #ue4fx #niagara #unrealengineniagara #unrealenginevfxtutorials

●Upload Your Tutorials/Work – https://cghow.com/
…………………………………………………………………………………………………………
Purchase Effect Package From Unreal engine Marketplace –
●Niagara Effects Pack – http://bit.ly/2LWgZTx
●Advanced Magical FX – http://bit.ly/2XQYyXL
……………………………………………………………………………………………………………………………………
●Patreon – https://www.patreon.com/Ashif
……………………………………………………………………………………………………………………………………

●Follow FB Page – https://www.facebook.com/cghow0/
●Join FB Group – https://www.facebook.com/groups/cghow/
……………………………………………………………………………………………………………………………………
●Android App – http://bit.ly/2XUnhoR
……………………………………………………………………………………………………………………………………
Playlists-
●Unreal Engine Niagara Tutorials – http://bit.ly/2SmPEuT
●Unreal engine VFX Tutorials -http://bit.ly/2JNXyJZ
●Unity VFX Tutorials – http://bit.ly/2XNGlKz
……………………………………………………………………………………………………………………………………
●Discussion & Help Forum – http://bit.ly/2Lo0Er7
……………………………………………………………………………………………………………………………………

Video Title: Converting GLSL to HLSL for Unreal Engine Niagara Particles and Materials

Description:
In this video, Asif Ali from CGHOW demonstrates how to convert GLSL code into HLSL for use in Unreal Engine’s Niagara particle system and materials. This tutorial is not a typical step-by-step guide but focuses on learning HLSL by converting existing code from ShaderToy to work within Unreal Engine. The video covers the key differences between GLSL and HLSL, including syntax adjustments, how to use custom parameters, and how to apply them in Niagara. Learn how Asif applies these changes to create a dynamic particle effect.


Key Points:

  • Overview of the Code:
    • Introduction to GLSL code from ShaderToy and how it’s converted into HLSL for Unreal Engine.
    • The code focuses on dynamic parameters for zoom, leaf count, and height.
  • Material Setup:
    • Use HLSL code in the Unreal Engine material system to create the particle effect.
    • Understand how to implement background color, leaf count, and zoom parameters.
    • Modify the HLSL code to use larp instead of mix for interpolation.
    • Explanation of time (t) and resolution (r) handling in Unreal Engine.
  • Niagara Particle System Integration:
    • How to link HLSL material parameters with Niagara particle system parameters.
    • Modify grid UVs, leaf start/end, speed, and zoom parameters directly in Niagara.
    • Show how changes in the material impact the particle system, with visual demonstrations.
  • Code Comparison:
    • Explanation of differences between GLSL and HLSL code, such as changing mix to larp and adjusting texture coordinates.
    • How to adapt GLSL’s time (iTime) to Unreal’s t for smooth transitions.
    • Adjustments for resolution and vector definitions between the two shaders.
  • Custom Parameters:
    • How to convert hardcoded values into parameters for dynamic control in Unreal Engine.
    • Example of how changing a single parameter (like zoom) affects the entire particle system in real-time.

Additional Notes:

  • Practical Application:
    • The focus is on learning through modification of existing code rather than creating from scratch.
    • This method helps in understanding how HLSL can be used effectively in Unreal Engine.
  • Code Download:
    • Viewers can download the modified files (material and particle system) from the provided Patreon link to experiment and tweak the effect.
  • Learning HLSL:
    • The process of converting GLSL to HLSL is a valuable exercise for anyone wanting to deepen their understanding of shaders and material creation in Unreal Engine.

Tags:

#UnrealEngine #NiagaraVFX #HLSL #ShaderToy #VFXTutorial #NiagaraParticles #GameDevelopment #CGHOW #MaterialEditor #ParticleSystems


Call to Action:
If you found this video helpful, don’t forget to like, comment, and subscribe to CGHOW for more tutorials. Share your thoughts or questions in the comments, and join me as we continue exploring HLSL and Unreal Engine VFX. Keep learning and stay creative!

Ashif Ali

I am Ashif Ali, Real-Time VFX Artist, I make Unreal Engine Niagara Tutorial on this channel. I've made it my mission to share my knowledge and expertise with the world through my YouTube channel. So why not join me on this exciting adventure? Follow me on my social links, subscribe to my channel, and support my growth as a creator. Together, we can create amazing things and take our skills to new heights. And who knows, you might even get access to some of my exclusive files for free!

Recent Posts

Energy Impact in Unreal Engine 5 Niagara

https://youtu.be/C-umkSMXd2o Full Tutorial - https://youtu.be/UbqEXYkmpckDownload - https://www.patreon.com/Ashif/posts/energy-impact-in-169122113 In this video, I demonstrate a dynamic Energy…

7 hours ago

UEFN Niagara Puddle Decal Shaders with Random Parameters | UE6 Ready 🌈💧

https://youtu.be/eIe_5qN2gnA In this UEFN VFX tutorial, learn how to create a stylized Water Puddle Decal…

8 hours ago

Abyssal Rupture in Unreal Engine 5 Niagara

https://youtu.be/XFv0kxFyy7A Full Video - https://youtu.be/QTFPRWQVW00This is showcase video of a VFX tutorial i has already…

1 day ago

UEFN VFX Tutorial | Make MUZZLE FLASH (UE6 Ready) 💥

https://youtu.be/vLZjeXr-wtI Full Tutorial - https://youtu.be/EMkUvMUTe80In this UEFN VFX tutorial, learn how to build an impactful,…

2 days ago

Shield Aura VFX in Unreal Engine 5 Niagara – Game-Ready Tutorial

https://youtu.be/LTwOZBko830 In this video, I showcase a completely revamped, cleaned-up, and optimized Shield Aura VFX…

6 days ago

Magical Aura VFX in Unreal Engine 5 Niagara – Remastered Tutorial

https://youtu.be/qL3cjAclffw In this video, I showcase an updated and optimized Magical Aura Effect created in…

1 week ago