
Mirza Beig
@TheMirzaBeig • 29,104 subscribers
✨ Interested in changing the world for the better. Exploring ~realtime simulations, sci-tech, education, etc. #Unity3D, After Effects, and Technical Art/#VFX.
Shorts
Videos

#GLSL: Black Hole, Distortion, 🌀 Gravitational Lens (Shader): #define R iResolution.xy void mainImage(out vec4 c, in vec2 p) { vec2 u = p / R, m = iMouse.xy / R, o = m - u, l, i; o.x *= R.x / R.y; float d = length(o); c = mix(vec4(0), texture(iChannel0, u + o / d * .1 / (d * d)), step(.3, d)); } Try it INTERACTIVE: 👉 #gamedev #indiedev
Mirza Beig256,083 次观看 • 6 个月前

Volumetric, animated 3D noise shader block in Unity. Where each frame is 2D space, and the 3rd dimension is time. So that, measurement of change within a slice is 'space', and measurement of change across slices is 'time'. As a 3D block, you see the noise animate into the 3rd dimension, but when looking at only a single slice, it appears to evolve in place. Likewise, for 4D... If: this were 3D noise, then: the 4th dimension would be whatever processing/frames/states of 3D data.
Mirza Beig126,907 次观看 • 7 个月前