• 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

Karnsteiner commented

What is the proper way of calculating attentuation in Unity3D non-surface shaders?

Nov 1, '13 shader·cg·fragment

0 Replies

0 Votes

avatar image

natwales commented

tex2D in CG program - UVs at 0,0

Oct 11, '13 shader·cg

0 Replies

0 Votes

avatar image

homer_3 edited

How to account for tiling in shader uv coords?

Sep 15, '13 shader·cg·tiling

0 Replies

0 Votes

avatar image

KuangZheng edited

_World2Object and _Object2World problem

Aug 23, '13 shader·cg

0 Replies

0 Votes

avatar image

benbenben commented

Shader behaves different in other scene / project

Aug 14, '13 shader·lighting·cg

0 Replies

1 Votes

avatar image

robertbu commented

CG shader is treated as GLSL and doesn't compile

Aug 14, '13 error·shader·cg·glsl

0 Replies

0 Votes

avatar image

DickieMayCry commented

Light direction based Lerp

Jul 12, '13 shader·lerp·cg

0 Replies

0 Votes

avatar image

iko79 published

Using single channel floating point texture for lookup-table in cg-Shader

Jul 4, '13 c#·textures·cg

0 Replies

1 Votes

avatar image

Kajos edited

Sharing variables across shader passes. Is it possible?

May 27, '13 shader·cg·hlsl

0 Replies

1 Votes

avatar image

Kajos asked

Omit DEPTH output in branch

May 26, '13 shader·cg

0 Replies

0 Votes

avatar image

trumanita asked

conditional pragma target

May 15, '13 shader·target·cg·directx·pragma

0 Replies

0 Votes

avatar image

1337GameDev asked

Get color of pixel before pass: prefer cg, shaderlab is last resort

Apr 14, '13 shader·color·pixel·cg·pass

0 Replies

0 Votes

avatar image

Gogeric commented

ShaderLab builtin lighting properties are not correct?

Apr 5, '13 lighting·shaders·shaderlab·cg

0 Replies

0 Votes

avatar image

customphase published

CG Shaders. Get pixels from previous pass (or write to texture)

Jan 31, '13 shaders·cg

0 Replies

3 Votes

avatar image

temptest123 commented

shaderlab: Matrix-vector multiplication in fragment shader on iOS not working?

Jan 13, '13 cg·matrix·fragment·glsl·gles

0 Replies

0 Votes

avatar image

Jetrii published

How can I get GLSL shaders to work in Unity?

Dec 29, '12 shader·cg·glsl

0 Replies

0 Votes

avatar image

Prince_of_Persia published

Converting mirror shader into CG form

Oct 19, '12 shader·mirror·cg

0 Replies

0 Votes

avatar image

keyp3r published

Depth of Field 3.4 and the OutlinedSilhouetted shader

Oct 5, '12 shaders·cg

0 Replies

0 Votes

avatar image

pantaryl asked

Bump Map, Specular and Shininess Shader

Oct 4, '12 texture·shaderlab·cg·specular·bumpmap

0 Replies

0 Votes

avatar image

ckfinite asked

GPU texture caching

May 30, '12 texture·gpu·cg·cache

0 Replies

1 Votes

avatar image

dr-electro edited

Multiple tex2D commands in fragment shader needed, is there a workaround?

May 16, '12 shader·ios·cg

0 Replies

0 Votes

avatar image

KHex published

Getting a single light position from Cg shader?

Dec 28, '11 shader·cg

0 Replies

0 Votes

avatar image

Jiexi commented

Vertex shader with two textures at different heights.

Oct 4, '13 shader·vertex·cg

0 Replies

0 Votes

avatar image

lestat009 published

can i export animated characters to use them in after effect?

Nov 16, '11 cg

0 Replies

0 Votes

avatar image

YetAnotherUnityQuack edited

Refraction Shader. Strange Artifacts

Nov 2, '10 shader·vertex·cg·fragment·refraction

0 Replies

1 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