• 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
3
Question by Daniele · Oct 18, 2010 at 09:43 PM · lightingfpsfirst-persongunsnight

Night-vision/thermal possible?

Planning on creating a shooting range fps game.

One stage I would like to be rather dark and use of night-vision/thermal would be something that's possible to do?

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 John 16 · Oct 19, 2010 at 12:42 AM 0
Share

If/when you get it figured out, please share.

5 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by TheDemiurge · Oct 29, 2010 at 02:00 PM

I found a fairly simple solution using Glow + Color Correction image effects.alt text

I made the camera into a prefab in case someone likes this: Night Vision Cam

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
avatar image
-1

Answer by Max-Bot · Sep 07, 2017 at 09:13 PM

Some cool package was released after long years... https://www.assetstore.unity3d.com/#!/content/96249 Looks like it's good post processing visions

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
avatar image
0

Answer by AVividLight · Oct 18, 2010 at 09:59 PM

Dear D_M,

Yes, it is possible... I can think of one way to do it, but its impractical... Anyway... I assure you, it is possible! You could try actually making everything have heat/light, and then, when you push "tab" (Or whatever) you switch to a script that displays a particle effect, or something... And adds a screen effect... Basically, use a GUI Texture to give it a "Grey Look" and use a script that will attach non-moving, single-size particle effects to what ever objects you give a specific tag to... Its just a suggestion, but you could do it!

-Wish you luck! Gibson

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 Daniele · Oct 18, 2010 at 10:04 PM 0
Share

Awesome.

I just need to think of a usp for my game ;/

Night-vision/thermal came to $$anonymous$$d. Seems somewhat difficult but an interesting idea nonetheless. Cheers for the suggestion.

avatar image AVividLight · Oct 18, 2010 at 11:33 PM 0
Share

Yeah... I hope you get it working! Let me know how you do it... I'd really like to know!

avatar image
0

Answer by pixelmixer · Oct 20, 2010 at 04:15 PM

You can also look into Image Effects Scripts: http://unity3d.com/support/documentation/Components/comp-ImageEffects.html

I think the Glow effect or Bloom and Flares effect might be of interest specifically.

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
avatar image
0

Answer by DominatorSessoms · Nov 30, 2016 at 07:36 AM

private var currentColor : int = 0; var changeTime : float; var colors : Color[];

function Update () { RenderSettings.ambientLight = Color.Lerp (RenderSettings.ambientLight, colors[currentColor], changeTime*Time.deltaTime);

  //this is just to test
  if(Input.GetKeyDown(KeyCode.N)){
      NextColor();
  }
  

}

function NextColor(){ if(currentColor>=colors.length-1){ currentColor = 0; }else{ currentColor +=1; } }

function SetChangeTime(ct : float){ changeTime = ct; }

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Can I use guns in my game? 1 Answer

i have some prefabs in the scene that are not affected by the dark directional light (with images) 1 Answer

FPS Tutorial Help 1 Answer

Outdoor horror game seems too dark at day , too bright at night 0 Answers

Realistic Scope Effect? 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