0
\$\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\$
  • \$\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 '18 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 '18 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 '18 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 '18 at 3:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.