Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 91316

Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.

1 vote
Accepted

Problems with BlendOp Max

Turns out, that even though the OpenGL documentation says the Max/Min functions don't take your blend factors into consideration, some quirk in shaderlab means you have to specify them anyway. As suc …
LeftRight92's user avatar
1 vote
1 answer
767 views

Problems with BlendOp Max

However, as you can see below, the shadow of one light seems to be occluding the other, which doesn't match up with how I understand BlendOp Max is supposed to work: Unity Docs NVidia OpenGL Could …
LeftRight92's user avatar
1 vote
Accepted

How do I get a Light's Range value in Shader?

Have opted to use my 'workaround' shader as posted in the question. _Pullup can be tuned appropriately in the material to match the range of the light as closely as possible when working by eye.
LeftRight92's user avatar
4 votes
2 answers
1k views

How do I get a Light's Range value in Shader?

Update I found the variable unity_LightAtten in the Unity Shader Variables documentation. …
LeftRight92's user avatar