• 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

Cg

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

ArseneySorokin asked

regarding Shader Optimization

Aug 28, '21 shaders·shader programming·cg·efficiency·hlsl

0 Replies

0 Votes

avatar image

Bluntfist asked

Broken HDRP Lit and Unlit Shaders

Mar 11, '21 in Help Room

0 Replies

0 Votes

avatar image

lonewalker07 published

Parse error: syntax error, unexpected TVAL_ID, expecting TVAL_STRING

Feb 11, '21 in Help Room

0 Replies

0 Votes

avatar image

DaUr3 answered

Objects Go Into Shadow as Soon as They are Outside of a Point Light's Range

Jul 25, '20 shader·shader programming·cg

1 Reply

0 Votes

avatar image

RoyalCoder published

Shaders problems after moving to URP

May 26, '20 shader·shaders·graphics·unityeditor·cg

0 Replies

0 Votes

avatar image

loeckm answered

How to implement scaling without scaling the texture.

Aug 22, '21 c#·graphics·shader programming·cg

1 Reply

0 Votes

avatar image

Le-Capitaine edited

[Cg] Lighting a projected alpha-blended decal

Jan 24, '20 lighting·cg·projector

0 Replies

0 Votes

avatar image

adredengaming answered

How do I fix this diffuse shading flip

Sep 20, '19 in Help Room

1 Reply

0 Votes

avatar image

AgapitoTori commented

UnityObjectToClipPos is inverted?

Jul 26, '19 shader·shaders·shader programming·cg·matrix

0 Replies

0 Votes

avatar image

Hylus edited

How to determine shader center?

Jul 24, '19 shader·mesh·cg·outline·dynamically

0 Replies

0 Votes

avatar image

pmerilainen commented

How to compare colors in Shaders?

Jul 12, '19 unity 5·shader·cg

2 Replies

1 Votes

avatar image

HamLard edited

Storing data from previous shader pass

Jul 8, '19 in Help Room

0 Replies

0 Votes

avatar image

onsboy asked

Unity Shader Code Help.

Mar 7, '19 cg·hlsl

0 Replies

0 Votes

avatar image

SupriyaRaul asked

How to use command buffers with Unity shaders and camera to draw alternate fragments?

Feb 19, '19 shader·unityeditor·cg

0 Replies

0 Votes

avatar image

SupriyaRaul asked

How to use command buffers with Unity shaders and camera to draw alternate fragments?

Feb 19, '19 c#·shaders·unityeditor·cg

0 Replies

0 Votes

avatar image

badjano edited

Intercept last pass on a surface shader to change RGB of that pixel

Feb 14, '19 in Help Room

0 Replies

0 Votes

avatar image

Eco-Editor edited

How to integrate maxvertexcount method in my shader??

Feb 7, '19 shader·rendering·cg·diagonal·wireframe

0 Replies

0 Votes

avatar image

Eco-Editor asked

Why color not rendering in my shader?

Feb 5, '19 shader·cg·hlsl·wireframe·opaque

0 Replies

0 Votes

avatar image

mhwan97 commented

How do you port old shaders to hlsl so they work with the new post-processing stack?

Oct 4, '19 in Help Room

1 Reply

1 Votes

avatar image

ananion asked

How do I initialise a TEX2DARRAY in shader with RenderTextures from C# script

Dec 2, '18 shaders·cg·initialization·2d array

0 Replies

0 Votes

avatar image

$$anonymous$$ asked

Tint a UI sprite with a gradient

Oct 11, '18 in Help Room

0 Replies

0 Votes

avatar image

BIGcheese89 commented

Fragment shader with "return" in for loop crashes the game on Android

Jan 4, '21 shader programming·cg·fragment

0 Replies

0 Votes

avatar image

Iumadatraca asked

Exported shader's output is black

Oct 3, '18 ai·shader programming·shaderlab·cg·nvidia

0 Replies

0 Votes

avatar image

SauronDark edited

Need assistance in converting shader to work it in LightWeight SRP

Apr 14, '19 shader·convert·pipeline·cg

1 Reply

1 Votes

avatar image

Biggzlar asked

Shaders are horrible. Why does the shader of one object affect the shader of the other object???

Sep 22, '18 in Help Room

0 Replies

0 Votes

avatar image

BastianUrbach answered

what does it mean assigning a half4 to a float

Sep 14, '18 shaderlab·cg

1 Reply

0 Votes

avatar image

PanzerPotato edited

Triplanar shaders that use the position and rotation of the attached object (or local Triplanar shaders)

Jun 28, '18 shader·shaders·shader programming·cg·shader writing

0 Replies

0 Votes

avatar image

ys4axis commented

Shader that clips pixels outside of defined polygon

Apr 22, '21 shader·point·cg·algorithm·polygon

0 Replies

0 Votes

avatar image

$$anonymous$$ answered

Shader - UNITY_SAMPLE_DEPTH function

Jun 3, '18 shader·shaders·cg

2 Replies

0 Votes

avatar image

jpierre88 edited

How to convert surface shader to Vertex/Fragment code?

May 8, '18 shader programming·cg·surface shader·vertex shader·fragment

0 Replies

0 Votes

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

Followers

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 shaderlab hlsl shader programming glsl fragment unity 5 lighting material graphics texture alpha vertex surface shader c# matrix shader writing vertex shader pass surface color uv error blending


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