• 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

ScroodgeM answered

cg to unitycg : Glowing shader

Jul 19, '12 shader·cg·hlsl

1 Reply

0 Votes

avatar image

Aily commented

shader inverse(float4x4) function

Apr 4, '15 shader·cg·matrix·glsl·inverse

2 Replies

3 Votes

avatar image

Baste edited

Shader programming question for Cg expert : Scaling textures

Apr 14, '15 shader·texture·particle·cg·matrix

5 Replies

1 Votes

avatar image

ScroodgeM answered

Stop shader values from being clamped

Jul 20, '12 shader·vertex·cg·fragment

1 Reply

2 Votes

avatar image

KHex published

Getting a single light position from Cg shader?

Dec 28, '11 shader·cg

0 Replies

0 Votes

avatar image

hippocoder answered

Cg shaders in unity and point sprites

Mar 23, '14 shader·cg

2 Replies

0 Votes

avatar image

Yanger_xy answered

About Cg shaders and parameters

Mar 9, '13 shaders·cg

3 Replies

1 Votes

avatar image

PatHightree commented

What does #pragma multi_compile_particles do?

Apr 10, '16 shader·cg·pragma

1 Reply

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

Joshua 3 answered

Weird shader error X5204 - read of uninitialized components

Jan 16, '12 camera·shaders·shaderlab·cg·depth buffer

1 Reply

0 Votes

avatar image

Cambesa commented

Shader Intellisense / Code completion

Oct 12, '15 shader·editor·cg·intellisense

2 Replies

4 Votes

avatar image

stripe103 commented

Need help with Glow shader!

Jul 18, '12 shader·cg·glow

1 Reply

1 Votes

avatar image

Bunny83 answered

Blinn-Phong shader (vertex lit) from scratch.

Sep 30, '11 shader·cg·vertex shader

1 Reply

0 Votes

avatar image

PaulUsul answered

Order for Surface Shader / CG frag passes?

Jun 6, '11 shader·cg·surfaceshader

1 Reply

0 Votes

avatar image

rejj commented

Avoiding branching within Cg shader

May 23, '11 shader·optimization·cg

1 Reply

1 Votes

avatar image

clamp asked

geometry shaders?

Apr 13, '11 shaderlab·cg

2 Replies

0 Votes

avatar image

Geoff 3 edited

Fog over CG surface shader

Apr 10, '11 shader·fog·cg

1 Reply

0 Votes

avatar image

Geoff 3 asked

CGPROGRAM supported #pragma keywords

Apr 8, '11 shader·cg

1 Reply

0 Votes

avatar image

Bunny83 commented

Why are texcoords (uvs) stored in float4?

Nov 15, '19 shader·cg

2 Replies

5 Votes

avatar image

VivienS asked

Which way to write a shader in Unity is the best?

Jan 28, '11 shader·performance·cg·bestpractices·custom-shader

1 Reply

4 Votes

avatar image

Gabriel 4 asked

Need help with a shader.

Dec 15, '10 shader·shaderlab·cg

3 Replies

2 Votes

avatar image

lhk edited

ShaderLab on Unity3d Indie

Dec 16, '10 shader·shaderlab·cg·hlsl·custom-shader

2 Replies

0 Votes

avatar image

vikingfabian-com published

Accessing uv offset in Cg shader

Dec 15, '13 shader·offset·cg

4 Replies

1 Votes

avatar image

YetAnotherUnityQuack edited

Refraction Shader. Strange Artifacts

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

0 Replies

1 Votes

avatar image

metervara asked

fog in cg fragment shader

Jul 23, '10 shader·fog·cg

2 Replies

0 Votes

avatar image

Nullspace commented

Is there a way to pass an array to a Cg shader?

Feb 27, '13 shader·array·color·cg

2 Replies

2 Votes

avatar image

Sejster asked

How to get the global position of a vertex in a Cg vertex shader?

Jun 7, '10 shader·uv·vertex·cg

1 Reply

1 Votes

avatar image

reefwirrax commented

Cg and "for" statements, what's the deal?

Sep 30, '13 shader·for-loop·cg·perlin

2 Replies

0 Votes

avatar image

N1nja edited

Profile does not support "for" statements and "for" could not be unrolled.

May 26, '10 error·shader·for-loop·cg

1 Reply

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