• 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

helarts edited

Do TEXCOORDS need to be in sequence?

Dec 5, '15 shader·shaders·graphics·programming·cg

1 Reply

0 Votes

avatar image

DenizCetinalp asked

Shader that renders fragment behind

Mar 3, '16 shader·cg·surface shader·fragment·ztest

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

Ataraxxis published

Parsing values in multipass cg shader

Jul 30, '16 shader·cg·vertex shader·pass

0 Replies

0 Votes

avatar image

g-pechorin edited

Can I read `CGPROGRAM` `#define` constants in `.cs` at runtime?

Jul 13, '15 shader·cg·cs

0 Replies

0 Votes

avatar image

Plastic Block asked

Exporting graphically created shaders in Visual Studio to Unity. [.glsl to .shader]

Apr 24, '16 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

Hylus edited

How to determine shader center?

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

0 Replies

0 Votes

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

SunnyChow answered

Problem with custom shader (ShaderLab + Cg)

Sep 27, '16 shader·unity5·cg

1 Reply

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

alexander11 commented

How do i Intensify Red Channel on Cubemap CG Unity 5?

Aug 19, '17 unity 5·cg

1 Reply

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

adredengaming answered

How do I fix this diffuse shading flip

Sep 20, '19 in Help Room

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

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

Eno-Khaon answered

How to make diffuse shader that ignores position of directional light, light other shaders?

Jan 8, '16 shader·cg

1 Reply

0 Votes

avatar image

ArseneySorokin asked

regarding Shader Optimization

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

0 Replies

0 Votes

  • »
  • ‹
  • 8
  • 9
  • 10
  • 11
  • 12
  • ›

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