#How would I go about making holes in a mesh?

1 messages · Page 1 of 1 (latest)

eternal spear
#

I recently just got into shaders (Shadergraph and HLSL) and I wanted learn anything about using shaders to manipulate how the end 3D model is rendered. Say I shoot through a tile and I want to make a cylindrical hole or just push out a part of the tile, how would I go about it

urban fern
# eternal spear I recently just got into shaders (Shadergraph and HLSL) and I wanted learn anyth...

You need to be more specific. Cutting out fragments is relatively easy, but making a believable intersection effect is bit more complicated. The image above is made by just cutting out the pixels closer than certain radius in the XZ plane. The mesh is rendered both sided but you can see the inside of the mesh which may or may not be what you want. If the mesh is just a flat plane to begin with, this may not be an issue at all