Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Fewpwew130 · Nov 07, 2014 at 01:45 PM · renderplanesettings

Unity object: Plane render both sides, possible?

Hi, I have a question: when I add either a Unity Plane through add new object menu, or import a new asset (for example *OBJ model) consisting of planes, the engine seems to render only 1 side, the other side dissapears.

The question is: is there a way to render both sides of a plane?

Thank you.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AlucardJay · Nov 07, 2014 at 02:20 PM 0
Share

This answer by Aldo will make your plane double-sided at runtime : http://answers.unity3d.com/questions/280741/how-make-visible-the-back-face-of-a-mesh.html

Other solutions would be to use a model created in a modelling program, or generate a custom plane with code : http://docs.unity3d.com/ScriptReference/$$anonymous$$esh.html

You could modify this script found on the Unity wiki to generate a double-sided plane : http://wiki.unity3d.com/index.php/ProceduralPrimitives#C.23_-_Plane

And of course the methods described by Baste in their answer.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Baste · Nov 07, 2014 at 02:00 PM

A plane only has one side, and only renders on that side. That's intended behavior. So, there's two ways to get a plane to render on two sides, two both are kinda wonky:

1: make two planes, put them back-to-back.

2: make a completely flat box instead.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tanoshimi · Nov 07, 2014 at 02:13 PM 4
Share

A plane has two sides, it's just that most shaders are set to cull backfaces so you only ever see the side that has the normal facing you. You can simply set CULL OFF in the shader to render both sides, but, like the other two suggestions mentioned, whether that's an appropriate solution really depends on the situation.

avatar image Fewpwew130 · Nov 07, 2014 at 02:19 PM 0
Share

Thank you for a prompt answer! Could please work me through, how to set cull off in the shader? I add a plane. As I understand: it has a standard diffuse material, which cannot be edited. Therefore, I add a new meterial and it replaces the standard one. Now I can press "edit" button. I press it. A new menu appears with two buttons for compiled code and 1 button for variants. How do I set cull off ?:)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Skybox Pixelation problem 6 Answers

Locatio of Render Setting 0 Answers

Flip gameobject by 180º 0 Answers

C# Plane Detecting a Gameobject 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges