GLSL density raymarching example

   2129   2   0
User Avatar
Member
6 posts
Joined: July 2016
Offline
Hey everyone,

I have set up a GLSL shader that creates a basic volume effect, though it's not perfect.
Blinds like effect can be found on each side.
But the same code works perfect in other environment like UE4.
Edited by hf - July 18, 2019 02:34:04

Attachments:
pighead01.gif (637.7 KB)
Untitled-1.jpg (19.5 KB)

User Avatar
Member
6 posts
Joined: July 2016
Offline
The shader samples a reqular 2d texture which includes all slices of a volume.

Attachments:
rop_volume_texture1032.jpg (56.8 KB)

User Avatar
Member
6 posts
Joined: July 2016
Offline
Get rid of the visual artifacts by disabling mipmapping
  • Quick Links