• 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

Shader Programming

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

sovan-k1 answered

Unlit Texture Transparent Shader

Jul 7, '16 shader·shader programming·unlit·unlit transparent

3 Replies

1 Votes

avatar image

LessTergy edited

3 Color linear gradient shader

May 13, '21 ui·shader·lerp·shader programming·color change

1 Reply

3 Votes

avatar image

Namey5 commented

How to blend two textures?

Apr 25, '18 shader·texture·shader programming·shaderlab

1 Reply

0 Votes

avatar image

TooManySugar commented

Transparent shadow receiver in unity 5 Closed

Feb 26, '18 unity 5·shader programming

2 Replies

1 Votes

avatar image

tanoshimi commented

getting the local vertex positions in vertex shader

Sep 23, '16 shader programming·vertex

2 Replies

0 Votes

avatar image

Wolfos answered

Replaced '_Object2World' with 'unity_ObjectToWorld'

Nov 29, '17 in Help Room

1 Reply

1 Votes

avatar image

brlan10 edited

Fog not working in my own Vertext Shader

Jun 23, '17 in Help Room

2 Replies

0 Votes

avatar image

Leoo edited

Simple "Render on Top of Everything" Shader?

Aug 27, '15 in Help Room

1 Reply

1 Votes

avatar image

andrew_pearce commented

UI mask doesn't work with custom sprite material

Dec 2, '18 in Help Room

3 Replies

0 Votes

avatar image

ayemets published

Header for material properties in inspector?

Aug 15, '21 shader·shaders·shader programming·shaderlab·shader writing

2 Replies

2 Votes

avatar image

Destroyer720 published

How to add Emission to my custom shader?

Mar 3, '21 shader·shaders·shader programming·shader writing·emission

2 Replies

0 Votes

avatar image

tanoshimi answered

Sprites-Diffuse shader explained

Oct 24, '16 sprite·shaders·shader programming·shader writing·diffuse

1 Reply

0 Votes

avatar image

JonPQ answered

How do I make a water shader that has depth.

Dec 18, '17 shaders·materials·shader programming·water

1 Reply

0 Votes

avatar image

TheSaviour edited

How can I add a color, smoothness and metallic property to this shader?

Jun 25, '17 shader·color·materials·shader programming

1 Reply

0 Votes

avatar image

Tralafgar-Law commented

Can I sample a texture in a fragment shader using pixel coordinates instead of UV's?

Jan 8, '19 textures·shader programming·sampling

2 Replies

1 Votes

avatar image

slembcke2 published

Using Texture2DArray as RenderTarget and passing data to fragment shader

Apr 20, '17 texture·texture2d·rendertexture·shader programming·hlsl

2 Replies

4 Votes

avatar image

Jessespike answered

How to make a custom shader affected by Ambient Light

Feb 25, '16 shader·shader programming·ambient light·ambient

1 Reply

0 Votes

avatar image

Bunny83 commented

z and w output of UnityObjectToClipPos()

Jun 13, '17 shader programming

1 Reply

3 Votes

avatar image

michelangeloevil answered

How do I get the fragment position in world coordinates?

Mar 14, '18 in Help Room

1 Reply

0 Votes

avatar image

eviljack commented

Displacing vertex with HeightMap texture in vertex shader Wiki

Mar 16, '16 terrain·shader programming·heightmap·vertex shader

1 Reply

1 Votes

avatar image

ferbailer answered

LOD Dither effect

Aug 8, '17 shaders·shader programming·fade·lod

2 Replies

0 Votes

avatar image

a_p_u_r_o answered

How to Customize Standard Shader ( Repeating Textures in Mirror Mode )

Aug 16, '16 shader·texture·shader programming·shaderlab

1 Reply

0 Votes

avatar image

vTimePawel commented

Pass UV coordinates to fragment shader without textures?

Feb 15, '19 shaders·shader programming

1 Reply

0 Votes

avatar image

ttohin commented

Vertex and Fragment shader with vertex displacement *and* shadows

Jan 2, '18 in Help Room

1 Reply

0 Votes

avatar image

Tunity answered

Persistent data values in shaders

Mar 3, '18 shaders·graphics·shader programming·visual-effects·vertex color

3 Replies

0 Votes

avatar image

Bunny83 answered

Five colors gradient on sprite

Jul 30, '17 shader·shaders·shader programming·shader writing·shader-replacement

1 Reply

3 Votes

avatar image

TheSmokingGnu edited

Send float value from shader to script?

May 12, '20 shader·shader programming·advanced

1 Reply

2 Votes

avatar image

AtGfx commented

Custom Shader Giving Unexpected token error for period ' . '

Apr 27, '17 in Help Room

1 Reply

0 Votes

avatar image

pesch2 edited

,Implementing a Geometry shader for a pointcloud

Feb 27, '18 shader programming·geometry shader

2 Replies

0 Votes

avatar image

diskhkme commented

Performance of looping compute shader in Update()

Sep 5, '16 in Help Room

2 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

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

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.

Related Topics

shader shaders shader writing shaderlab graphics rendering texture lighting cg c# unity 5 material vertex shader shadows materials stencil transparency hlsl surface shader compute shader scripting problem 2d shader-replacement ui color


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