opengl - Star Wars holographic effect in GLSL / HLSL shader -
does have idea how implement star wars holographic effect in hlsl / glsl ?
edit:
answer refers "classic" blueish holonet appearance, rather more bloomy, reddish appearance in more modern episode 1-3 movies ben found on internet (the question doesn't make clear 1 desired).
if more modern red desired, 1 have use red instead of blue, obviously, , add bloom effect "aura" (threshold/bright-pass, blur, add image, see example here).
(original answer)
looks semi-transparent, not accurate, blueish "black , white" effect.
thus, i'd calculate luminance (something dot(color.xyz, vec3(0.67, 0.21, 0.14)) though uniform weight (0.333) ok too), , output in blue channel only, possibly adding bias , multiplying gain, make little tweakable.
that, , enable alpha blending, , tweak constant alpha transparent it.
possibly 1 add bit of perlin noise luminance too, give bit "less accuracy" , more of "imperfect" appearance, holo thigies have in movies.
Comments
Post a Comment