Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by Zitoox · Sep 09, 2016 at 11:30 PM · cameravideoviewshowglass

Help in making a video camera

I sincerely don't know what to write in the title. I was thinking in something like "how to make a camera" but how do you ask how to make a camera using a camera? Anyway...

I have a video cam in my game. You are a FPS Character, and you is using a video cam to record things, as normal people do with their video cameras. BUT, i wanted to actually see what the video camera is recording. Is there a way to create a glass or a camera thing that works like a normal camera viewer? I am talking about the thing marked in the image below. How do i make this? I am kinda confused =\

alt text

OBS: This image is from Google, don't ask.

cam.jpeg (115.2 kB)
Comment
Add comment · Show 5
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 · Sep 09, 2016 at 11:44 PM 1
Share

https://unity3d.com/learn/tutorials/topics/graphics/using-cameras

https://docs.unity3d.com/$$anonymous$$anual/class-Camera.html

https://docs.unity3d.com/$$anonymous$$anual/class-RenderTexture.html

avatar image Zitoox AlucardJay · Sep 10, 2016 at 03:30 AM 0
Share

Hm... Pretty sure this doesn't match with the subject matter

avatar image AlucardJay Zitoox · Sep 10, 2016 at 05:04 AM 1
Share

You wish to render the image from a second camera (camcorder) onto a surface (camcorder screen). Use RenderTexture. This is the same technique as creating a mirror, water reflections, portals, etc etc.

https://docs.unity3d.com/$$anonymous$$anual/class-RenderTexture.html

"Render Textures are special types of Textures that are created and updated at runtime. To use them, you first create a new Render Texture and designate one of your Cameras to render into it."

Scroll down to the EXA$$anonymous$$PLE

Show more comments
avatar image Sergio7888 · Sep 10, 2016 at 06:22 AM 0
Share

Create a RenderTexture Asset.
Create a GameObject and add a Camera component and move it to the camera lens position
in the Camera "Target Texture" field select the Render Texture Asset created
Create a new UI > Canvas.
in the Canvas set "Render $$anonymous$$ode" to "World Space".
$$anonymous$$ove the Canvas to the visor position.
In this Canvas create a new UI > Raw Image.
In the Raw Image "Texture" field select the Render Texture.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by TripStudiosOfficial · Jan 13, 2018 at 08:18 PM

Firstly, add a plane on the little camcorder screen and make sure its lined up good, this will act as the screen. Next, go to the project assets and right click > Create > Render Texture. After you have done this also create a material named after the render texture you just made, then click on the material and in the inspector tab, choose the material shader as Legacy Shaders > Diffuse, then apply the render texture as the texture on this new material. Then, add this material to the plane that is acting as your screen. Once you have done this, add a camera game object to the end of your camcorder model, or wherever you want to put it, just make sure it shows directly in front of the camcorder. Next, select this camera game object and look in the inspector for "Target Texture", apply the render texture you created to this empty slot and bam, you have a working cam corder. (Also, set the camera depth to be -1) Hope i helped :)

Comment
Add comment · 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

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

74 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 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 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

Transparent materials aren't visible after post processing 1 Answer

Play and capture a video at the same time 0 Answers

MainCamera is not seeing 3D model??? (SOLVED) 1 Answer

Editor camera view and play game camera view not the same 1 Answer

SPACE SHOOTER SHOOTING SHOTS TUTORIAL HELP (UNITY 5 C#) 3 Answers


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