1
\$\begingroup\$

I use plane as wall, door,... using Double Sided Shaders. I just want to make my wall, door,... thicker so it doesn't look like paper, I don't need to make it look super realistic. I wonder if I can do that with shader.

\$\endgroup\$
4
  • \$\begingroup\$ While you could probably accomplish something along these lines with a shader, it's likely to be vastly easier to just render a rectangular prism instead so the thickness is present in the geometry. The extra polygons will very likely be cheaper than the parallax sampling math you'd have to do per pixel otherwise. \$\endgroup\$
    – DMGregory
    Dec 27, 2018 at 12:10
  • \$\begingroup\$ @DMGregory - I don't know which would be better yet, but there is some of my case require plane. I'm thinking about doing something similar snow simulation: github.com/TheBeach54/SnowSimulation \$\endgroup\$
    – 123iamking
    Dec 27, 2018 at 13:35
  • \$\begingroup\$ Make sure you include that detail in your question then, so we have a complete understanding of what you're trying to accomplish. \$\endgroup\$
    – DMGregory
    Dec 27, 2018 at 13:38
  • \$\begingroup\$ @DMGregory - The snow simulator is just a guess, I'm not sure if it works for my case yet. \$\endgroup\$
    – 123iamking
    Dec 28, 2018 at 3:18

0

You must log in to answer this question.

Browse other questions tagged .