• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: cg

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

EdwinLyons published

Shader broke after update from 5.4 to 5.5

Feb 21, '17 shader·shader programming·cg·shader writing

2 Replies

0 Votes

avatar image

toddisarockstar edited

What is best way to add transparent padding all around my sprites?

Feb 19, '17 c#·shader programming·shaderlab·cg·shader writing

2 Replies

0 Votes

avatar image

mitaywalle published

[Shader] Usage #ifdef DIRECTIONAL

Feb 17, '17 shaders·programming·cg·hlsl·preprocessor

0 Replies

0 Votes

avatar image

ExplosiveBarrels2 commented

How to get color of a fragment in CG after it's lit?

Feb 14, '17 shader·cg·fragment

0 Replies

0 Votes

avatar image

IgorAherne edited

Obtaining relative speed of vertex in a shader

Feb 14, '17 shaders·shader programming·shaderlab·cg·shader writing

1 Reply

0 Votes

avatar image

vanshika1012 asked

Mask Shader Problem in Unity

Jan 6, '17 in Help Room

0 Replies

0 Votes

avatar image

Namey5 answered

How can I get correct lighting on a low poly water shader?

Jan 2, '17 shader·lighting·water·cg·hlsl

1 Reply

0 Votes

avatar image

DBN answered

How to specify my CGIncludes directories?

Nov 19, '16 shader·cg

3 Replies

2 Votes

avatar image

Tiras69 commented

Getting the world position of the pixel in the fragment shader.

Nov 17, '16 c#·shader·alpha·smooth·cg

1 Reply

0 Votes

avatar image

LaurynasLubys answered

Why is this point light square?

Oct 30, '16 in Help Room

1 Reply

0 Votes

avatar image

oc70984 published

Steam VR Camera (Vive) and frag shader coordinate weirdness

Oct 24, '16 vr·virtual·cg

1 Reply

1 Votes

avatar image

SunnyChow answered

Problem with custom shader (ShaderLab + Cg)

Sep 27, '16 shader·unity5·cg

1 Reply

0 Votes

avatar image

uani published

Shader: get nearest point light's color, direction and general custom lighting questions

Sep 26, '16 shader·lighting·color·cg·point light

0 Replies

0 Votes

avatar image

alxdncn answered

Discard Pixels from Fragment Shader Based on Screen Pos

Sep 13, '16 in Help Room

1 Reply

0 Votes

avatar image

ByteSheep commented

Selectively drawing textures on a mesh to represent damage using a shader

Sep 13, '16 shader·materials·damage·procedural mesh·cg

0 Replies

0 Votes

avatar image

hyqneuron asked

Using Cg to do reduction?

Sep 13, '16 in Help Room

0 Replies

0 Votes

avatar image

Rs edited

Randomness in CG shaders

Sep 12, '16 shader·random·cg

3 Replies

0 Votes

avatar image

etopsirhc answered

Add transparency to mask shader

Sep 8, '16 shader·material·transparency·alpha·cg

1 Reply

0 Votes

avatar image

Namey5 commented

How can I make a shader pass that emits dynamic light?

Sep 8, '16 in Help Room

0 Replies

0 Votes

avatar image

Bunny83 edited

Flat Shading / No Vertex Interpolation

Aug 24, '16 shader·shaders·shader programming·shaderlab·cg

2 Replies

2 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

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

RishBee published

Clip Shader not working on a few Android devices

Aug 2, '16 android·shader·cg·clipping

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

jpierre88 answered

Convert Transparent vertexLit subShader to CG script

Jun 30, '16 transparency·cg·vertexlit

2 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

x5lcfd commented

How do I add transparency to a cg vertex lit shader

Jun 4, '16 shader·transparency·alpha·cg·unlit

2 Replies

3 Votes

avatar image

phxvyper edited

Adding transparency to vertex shader?

May 17, '16 shader·transparency·vertex·cg·vertex shader

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

fafase commented

Question about unsubscribing eventhandlers OnDisable and OnEnable

Apr 26, '16 c#·performance·events·cg·delegates

2 Replies

0 Votes

  • »
  • ‹
  • 2
  • 3
  • 4
  • 5
  • 6
  • ›
  • »

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.

Follow This Topic

Follow This Topic

Follow by RSS

2 People are following this topic.

avatar image avatar image

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Notable Question   Chefsu
  • Nice Answer   Tubsiwub
  • Supporter   MrTrainMan2
  • Popular Question   NotEth4n
  • Popular Question   PennNeuro
  • Teacher   Stijn500
  • Famous Question   Robstao
  • Famous Question   Mastermarr
  • Famous Question   ZeraTFK
  • Editor   Y2Goldstep


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