• 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

ClearRoseOfWar commented

How do i turn off "Receive Shadows" and "Cast Shadows" in a Shader Script??

Jun 2, '22 shader·shadows·cg·casting

1 Reply

0 Votes

avatar image

glupsk answered

_WorldSpaceLightPos0.xyz always 0

Jan 20, '22 shaders·cg

2 Replies

0 Votes

avatar image

randomdragon answered

How to force the compilation of a shader in Unity?

Aug 30, '21 shader·cg·compiling

5 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

loeckm answered

How to implement scaling without scaling the texture.

Aug 22, '21 c#·graphics·shader programming·cg

1 Reply

0 Votes

avatar image

Eno-Khaon edited

Transparent shader disappears with multiple objects

Jul 4, '21 unity 5·shader·transparency·cg·billboard

1 Reply

0 Votes

avatar image

ys4axis commented

Shader that clips pixels outside of defined polygon

Apr 22, '21 shader·point·cg·algorithm·polygon

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

lonewalker07 published

Parse error: syntax error, unexpected TVAL_ID, expecting TVAL_STRING

Feb 11, '21 in Help Room

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

ifurkend answered

How can I transform a world view dir into tangent space in a Cg only shader

Aug 22, '20 shader·cg·transforms·tangents·viewdir

2 Replies

3 Votes

avatar image

DaUr3 answered

Objects Go Into Shadow as Soon as They are Outside of a Point Light's Range

Jul 25, '20 shader·shader programming·cg

1 Reply

0 Votes

avatar image

RoyalCoder published

Shaders problems after moving to URP

May 26, '20 shader·shaders·graphics·unityeditor·cg

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

Bunny83 commented

Why are texcoords (uvs) stored in float4?

Nov 15, '19 shader·cg

2 Replies

5 Votes

avatar image

mhwan97 commented

How do you port old shaders to hlsl so they work with the new post-processing stack?

Oct 4, '19 in Help Room

1 Reply

1 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

CaptainScience commented

Can I see the calculation of unity_MatrixVP ?

Aug 19, '19 shader·graphics·shader programming·shaderlab·cg

1 Reply

1 Votes

avatar image

NGC6543 answered

Second UV set as coordinates for a different texture?

Aug 16, '19 shader·uv·cg·surface·uv2

3 Replies

0 Votes

avatar image

mavv answered

Modify custom shader to add bump and normal maps

Aug 6, '19 shader·cg·custom-shader

2 Replies

0 Votes

avatar image

Liam-Lam answered

Ambient Occlusion Map in Shaders

Jul 27, '19 cg

1 Reply

2 Votes

avatar image

AgapitoTori commented

UnityObjectToClipPos is inverted?

Jul 26, '19 shader·shaders·shader programming·cg·matrix

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

pmerilainen commented

How to compare colors in Shaders?

Jul 12, '19 unity 5·shader·cg

2 Replies

1 Votes

avatar image

HamLard edited

Storing data from previous shader pass

Jul 8, '19 in Help Room

0 Replies

0 Votes

avatar image

SauronDark edited

Need assistance in converting shader to work it in LightWeight SRP

Apr 14, '19 shader·convert·pipeline·cg

1 Reply

1 Votes

avatar image

OPfeifferBweez commented

4 Corner Pin Distortion Shader

Mar 28, '19 shader·cg·distortion

2 Replies

0 Votes

avatar image

onsboy asked

Unity Shader Code Help.

Mar 7, '19 cg·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

SupriyaRaul asked

How to use command buffers with Unity shaders and camera to draw alternate fragments?

Feb 19, '19 c#·shaders·unityeditor·cg

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

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