How to create a light that only illuminates within a specific range?
Hello, I'm developing a game where light propagates like a wave. I'm having trouble figuring out how to achieve it. Initially, I tried creating two light sources: a positive one with a radius of r, and...
View ArticleLight.intensity not working
So I'm trying to change the Light.intensity variable but it says that, 'Light' does not contain a definition for 'intensity' and no accessible extension method 'intensity' accepting a first argument of...
View ArticleInvalid Subscript:: _'LightCoord',Invalid subscript "_LightCoord"
I am trying to build an Android VR App for the Vive Focus Plus on Unity 2018.4.12f1. and I keep running into this error:> Shader error in 'Standard> (Backfaces)': invalid subscript>...
View ArticleDirectional light penetrates totally close place.
Hi all, I made totally closed place with 6 cubes like jail, and put camera in it. I expected totally black out display, but Game shows inside of the cube. Is there any material or Light system setting...
View ArticleWeird lighting points in my baked scene, weird shadow pattern on my wall
I currently have weird lighted points in my baked scene (mixed lights). Also, my walls have weird patterns after the baking. I have tried it with GPU and CPU Backend nothing seems to work. I was...
View ArticleBaked looks different than Realtime?
Hey, im quite new to Unity. I wanted to bake a Point Light so the performance is a bit better but when i bake the light, it looks different to the realtime lighting. The reflections of the walls is...
View ArticleWall reflection enclosed room super dark
Hello, I am beginner in Unity. I'd like to build a closed room with spotlights as the only light sources available in the room. The sun is turned off. the lighting is generated, and reflection probe is...
View ArticleTranslucent objects with HDRP and Ray Tracing
So I'm just playing around and doing some experimenting but I noticed light's passing through semi-transparent objects don't change colors into what the object's color is like it would do in real life....
View ArticleIs there a way to see light through built in unity fog?
Hi, I am trying to make a light source visible from far away from camera. I want to be able to make the player see the light as a guide point. There is light **without** fog. ![alt text][1] Here is the...
View ArticleLight in character eyes
Hi! I want to put a light in the eyes of a character, but I don´t know how to attach them to the eyes, because they are not a separated child. Can somebody tell me how please? Thanks a lot
View ArticleWhy does global light in the BUILD ignore objects created via new GameObject()?
Hi, I just came across a problem that in the build light ignores objects created by new GameObject(). The strangest thing is that everything works right in the engine, but not in the build. All...
View ArticleBest lighting mode for mobile devices
I'm currently using the subtractive mode, reading [here][1] that it's the best for low-end devices. However, with this settings, I get an ugly artifact where shadows of non-static objects are "added"...
View ArticleHow to I create a light flash whenever the space bar is pushed?
So I'm hella new to unity and C# and I'm trying to script a light to flash whenever the space bar is pushed. I created an animation for the light flash and have it play when the space is pushed, but it...
View ArticleURP decal system does not work with light culling mask
I wanted to use the decal system provided by Unity, so I added a Decal in the Renderer feature and set it to Screen space. I have several Lights installed in the scene, and I have excluded the Decal...
View Articlemeasure/get the light intensity value
How to measure or get the light intensity value of a point on a partially shaded object in the scene illuminated by a single directional light? Can the software display the light intensity value of a...
View Article2021.3.13f1 bug? light bug?
When searching for an object in the Hierarchy the shader of the object becomes strange after that. The color of the object does not return. Does anyone know why this is happening? The same bug has been...
View ArticleChange Application icon with code
Hey guys, i am currently trying to implement a light dark mode to my game, so i was wondering: Is it possible that i can program, that when the player on the final game sets the game to light mode, the...
View ArticleChange Application icon after build
Hey guys, i am currently trying to implement a light dark mode to my game, so i was wondering: Is it possible that i can program, that when the player on the final game sets the game to light mode, the...
View Article[ URP ] Realtime pixelated shadows but only on some edges
Hi I recently switched to URP because it now supports **realtime shadows** with **point light**. Only a small problem shadows appears to be pixelated even if the shadow atlas resolution is set to...
View ArticleCollision of lights in Unity 2d, help please!
Good afternoon everyone! I ran into such a problem: in the editor itself, the "collision of lights" is natural, as in principle two lights collide) here is the screen: ![alt text][1] But after...
View Article