Jump to content

Help with Blur Particle


HB Stratos

Recommended Posts

So, basically I want to create a particle that is transparent, but displaces and pushes what is behind it (heatblur), possibly even with changing dispacement.
I´m pretty much a noob with unity and KSP mods and I´m working on my first engine, flame looks cool but is should have a heat blur trail behind it.

Thanks in Advance for Help

-HB Stratos

Link to comment
Share on other sites

You have to create a custom shader and use it for the particles. The real magic happens in the shader.

You then need plugin code to use the custom shader AND to be able to copy the background to a texture and distort it in the shader. Alternatively you can use a "grabpass" in the shader to copy the background (google it) but it's crazy expensive (slow).

I recommend reading this to get the general idea https://developer.nvidia.com/gpugems/GPUGems2/gpugems2_chapter19.html on how to achieve refractions.

Edited by blackrack
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...