GLSL density raymarching example

   2104   2   0
User Avatar
Member
6 posts
Joined: 7月 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 - 2019年7月18日 02:34:04

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

User Avatar
Member
6 posts
Joined: 7月 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: 7月 2016
Offline
Get rid of the visual artifacts by disabling mipmapping
  • Quick Links