• 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 kstu885 · Apr 08, 2015 at 03:46 AM · image effects

How do you make custom vignette shapes?

Hello,

I have been poking around for sometime trying to figure out if there is a way to make different shapes appear on screen using the Image Effects Vignette provided by Unity. I'm using Unity Pro 4.6.

Two interesting things make me believe this is possible and I'm just missing the answer here.

For one there is the "Vignette Mask" inside the ImageEffects/_Sources/Textures/ Folder. I initially thought the Vignette shader or effect was referencing this image and if I changed it and saved over it I could make my own shapes in Photoshop. This didn't appear to work or I'm screwing it up.

Secondly, inside the ImageEffects/_Sources/Shaders/ folder there appears to be two texture slots on the "VignettingShader" that says Main Tex and Vignette Tex. I tried plugging in my own texture shapes there to no avail.

Again, I want to use the vignette shader with full control of what the script provides, I just want to figure out a way to change the shape from the current oval to a custom one I can make.

I'm an artist that reads code at a relatively low level, so I'm sorry in advance if I'm completely off on how this effect works.

If there is another creative way to get around this that doesn't involve these effects, I'm all ears.

Thanks so much for any help!

Screen cap below of the Vignetting Shader in the inspector with its texture slots:

alt text

UPDATE: I've explore this a bit more and It appears the texture slots inside the vignette shader are hard coded and reset upon entering play mode.

vignettesettingsscreencap.jpg (54.6 kB)
Comment
Add comment
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

0 Replies

· Add your reply
  • Sort: 

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Errors with Image Effects 0 Answers

3D Text affected by image effect 0 Answers

can 4.3 2D sprite support Anti-Aliasing?? 1 Answer

Neon light or LED light 1 Answer

Enabeling components 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