• 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

Unanswered Questions

  • All Questions
avatar image

falsaform published

Is it possible for a shader to know the name of the mesh?

Aug 5, '16 shader·mesh·material·name·cg

0 Replies

0 Votes

avatar image

Vusa360 asked

Prevent ColorMask obscuring parts of an object's mesh

Feb 8, '18 shader·vertex·cg·surface shader·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

Piggyback published

Does adding more material properties slow down a shader?

May 13, '16 in Help Room

0 Replies

0 Votes

avatar image

LW asked

CustomRenderTexture Starter?

Apr 9, '18 c#·material·rendertexture·cg·hlsl

0 Replies

0 Votes

avatar image

HamLard edited

Storing data from previous shader pass

Jul 8, '19 in Help Room

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

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

bconfessor published

Multiple Vectors in shader/CGINC

Mar 16, '17 c#·shader·arrays·shader programming·cg

0 Replies

0 Votes

avatar image

Max Pushkarev asked

Camera dir in object space (vert programm)

Mar 28, '16 in Help Room

0 Replies

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

onsboy asked

Unity Shader Code Help.

Mar 7, '19 cg·hlsl

0 Replies

0 Votes

avatar image

gangafinti edited

Ocean shader

Jul 2, '15 cg

0 Replies

0 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

Bluntfist asked

Broken HDRP Lit and Unlit Shaders

Mar 11, '21 in Help Room

0 Replies

0 Votes

avatar image

splas_boomerang asked

OpenGL function don't work well on Unity 2017.2.0f3, But worked well on Unity 2017.1.1f1

Nov 30, '17 texture·version·cg·gl·thread

0 Replies

0 Votes

avatar image

JonnyHilly commented

Why is my shader still being lit ?

Jun 22, '16 shader·cg

0 Replies

0 Votes

avatar image

ArseneySorokin asked

regarding Shader Optimization

Aug 28, '21 shaders·shader programming·cg·efficiency·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

drudiverse edited

Is there WaitForFixedUpdate in CGProgram Code?

Sep 12, '14 cg·hlsl

0 Replies

0 Votes

avatar image

alexander11 commented

What Happend to Specular in CG Unity 5x?

Aug 17, '17 unity 5·cg

0 Replies

0 Votes

avatar image

layzrr commented

Where is the best place to learn how to write shaders for Unity 5?

Oct 21, '15 in Help Room

0 Replies

1 Votes

avatar image

Andy-Xiaohuo published

why can a array that must be declared by 'static' be read correctly

Aug 12, '16 shader·shader programming·cg

0 Replies

0 Votes

avatar image

$$anonymous$$ published

Implement Physically Based Shading into CGProgram

Mar 31, '16 shaderlab·cg·shading

0 Replies

0 Votes

avatar image

hyqneuron asked

Using Cg to do reduction?

Sep 13, '16 in Help Room

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