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 /
This question was closed Sep 29, 2013 at 06:37 PM by Professor Snake for the following reason:

Problem is not reproducible or outdated

avatar image
1
Question by Professor Snake · Apr 05, 2013 at 04:25 PM · blackwhitecontrast

How to achieve a Black & White effect.

Hello there. I want to achieve a high-contrast Sin City-like effect. The most straightforward way to achieve it would be to have the global illumination set to completely black, and have spotlights with a high enough intensity. The problem is that the maximum spotlight intensity is too low for such an effect, unless the lit objects are too close. Is there any image effect-based method of achieving high contrast levels?

alt text

Comment
Add comment · Show 8
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 Dracorat · Apr 05, 2013 at 04:52 PM 0
Share

I think you could get the effect you're looking for by using this shader: http://docs.unity3d.com/Documentation/Components/script-GrayscaleEffect.html

With a white to black color ramp applied. However, ins$$anonymous$$d of a gradient, you'd use solid sections of white to black that abruptly change.

Finally, this is Pro only. I don't think you could get a Sin City-like effect without the Pro version as I see no way it could be done without shaders. Even if you used monochromatic textures, they'll still have soft falloffs.

avatar image Professor Snake · Apr 05, 2013 at 04:58 PM 0
Share

Unfortunately, this does not seem to work all that well.

avatar image Professor Snake · Apr 05, 2013 at 06:28 PM 0
Share

The overall quality of the effect seems to be fairly low. There are also these weird gray areas whose positions seem to change with movement. $$anonymous$$y texture ramp is purely black and white as well. Changing the ramp offset seems to fix this but it also makes the effect look somewhat weird, as some brightly lit areas appear black while other areas that are just as bright but have a slightly different colour appear white. alt text

avatar image Dracorat · Apr 05, 2013 at 06:39 PM 0
Share

Thanks for posting the screenshot. It's curious that you're getting gray areas with the shader, which tell me that I don't quite understand how the shader works. As such, I just changed this to a comment rather than an answer. I'll be watching the question as I'm not also curious as to what the right answer might be. (Custom shader no doubt, but the details will be interesting.)

avatar image Professor Snake · Apr 05, 2013 at 06:57 PM 0
Share

I am quite sure i already have done so. Edit: After refreshing the page, i found out that the image failed to display for some reason, fixed it. Although the concept is simple enough to understand without an image, i want a pure black and white effect, without gray or anything in between.

Show more comments

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

14 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

Related Questions

Fade A Whole Scene From Black & White to Colour 1 Answer

how can i make the screen black white 2 Answers

Aditive Greyscale Shader (Turns any texture a solid color) 1 Answer

Import a PNG image where white is transparent and black remains black (or use PNG's transparency information) 0 Answers

White contour around black texts 0 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