Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

I have a Unity(URP) shader that implements a Toon effect — it works correctly and looks good, but after baking the lighting in the scene, objects that use this shader simply turn black. I don’t have ...
Rosta's user avatar
  • 1
1 vote
1 answer
309 views

I have freshly installed ursina in a virtual environment. I am trying to set up a basic scene with some lighting: from ursina import * class Pivot(Entity): def update(self): self....
AG-88301's user avatar
0 votes
0 answers
76 views

Doing MQTT integration with the gateway. Currently, I use the MQTT Explorer tool as a gateway to publish a message in a particular topic to Home Assistant. configuration topic is homeassistant/light/...
Prashanth's user avatar
2 votes
2 answers
163 views

All the pages I have been able to add support for dark/light mode. One page has a tree and everything I tried failed and most changes made the formatting (text, alignment, etc.) change, for the worse. ...
Mark's user avatar
  • 123
0 votes
1 answer
97 views

Running two Windows 11 Pro vms on Fedora Linux. One vm runs light.exe 3.11.2 just fine and creates the .msi. The other vm has this error when trying to create the .msi using the exact same codebase, ...
doncooper's user avatar
1 vote
0 answers
88 views

I'm working on a small ray tracing project and I'm trying to add a point light system to my rendering engine. Here's an excerpt of my main ray_color function, which calculates the color of a ray based ...
delmath's user avatar
  • 11
0 votes
1 answer
100 views

I was checking out the lighting of my flashlight and set shadow to soft shadow and then noticed that in game view cam it was rendering weird shadows. if the light source is child of the camera then ...
Rex Studio's user avatar
1 vote
0 answers
55 views

I want to change variables such as primary, success, body-bg especially for dark and light themes using sass in Bootstrap, but I couldn't find the right way. Can you help? What I'm trying to do is ...
Çağdaş's user avatar
0 votes
1 answer
478 views

I am porting an application from Xamarin to .Net MAUI, In Xamarin I was using a light theme in Android, so the alerts had a white background but in MAUI the alerts have a gray background. How can I ...
Led Machine's user avatar
  • 7,672
1 vote
0 answers
53 views

Image Link So as you can see there are some weird dots on the left side, which dont look so pleasing. These weird dots are actually correct but i dont like them. I use a line algorithm with some extra ...
studio-MM's user avatar
0 votes
0 answers
140 views

We are using the following Python script combined with OpenCV to record video of salmon migration in order to estimate total fish passage, import cv2 import numpy as np import time import datetime ...
portsample's user avatar
  • 2,184
0 votes
1 answer
192 views

I see other people demo has light but my local 5173 cannot see the light on some sides for the MeshPhongMaterial. I tested light position , tested pointlight , tested ambientlight and still cannot ...
Raii's user avatar
  • 174
-1 votes
2 answers
650 views

I have this easy code, its a traffic light enter image description here Its simple, past 1000ms, it switches to the next case to turn a different light. enter image description here I build it like ...
Erick Escobar Muñoz's user avatar
0 votes
1 answer
149 views

I just encountered an issue with one of my three.js project. I've got a scene with some mapped objects. When I add some lights on the scene, some "waves" appeared on my scene. enter image ...
TEDSTEAM's user avatar
1 vote
1 answer
160 views

I am very new to both C# and Unity, so I have been following some tutorials to create a Wall Torch (GameObject) that has a child 2D Spot Light which flickers using the following script I found on ...
LucashDev's user avatar
1 vote
2 answers
147 views

I can't figure out how to make Ursina procedural models look the same as mesh-based models. from ursina import * from ursina import shaders app = Ursina() L1 = DirectionalLight(color=color.white) L1....
Roman Rolinsky's user avatar
0 votes
1 answer
801 views

I want to know if an object is currently "lit", so I want to detect if the light source hits it. I thought of a trigger as big as the light but I think that it would be quite annoying to put ...
Simone Bernardini's user avatar
1 vote
0 answers
279 views

I am working on a testing project which is trying to get the value of the ambient light sensor in iPhone and check whether the values are accurate or not. I have searched through the developer ...
Yunjia You's user avatar
0 votes
2 answers
273 views

EDIT: If you are curious about the game, you can inspect the game on steam: https://store.steampowered.com/app/2570900/SABAH_Sun_As_Biased_As_Harmony/ I have developed a video game on Unity. It works ...
Yücel Sabah's user avatar
0 votes
1 answer
87 views

I am working with images of star fields. For a given star I want to obtain a representative RGB color in a given image working colorspace, which may not be sRGB. (If I only had to worry about sRGB the ...
Adrian K-B.'s user avatar
0 votes
1 answer
88 views

I've got this code: void BlinnPhong( inout float3 outputColor, PixelMaterial material, float3 lightColor, float3 lightDir, float3 viewDirection, float ...
Shout's user avatar
  • 693
0 votes
0 answers
118 views

I'm trying to recreate family fortunes (Feud in America) and I'm trying to make a spotlight that follows the mouse. The code for the spot to follow the mouse works fine but I'm having trouble changing ...
code_bean193935's user avatar
1 vote
2 answers
514 views

I currently have a large range of colored pictures which all differ in brightness. However since this is for a research project, it is necessary the brightness levels in these pictures are ...
CichlidFan01's user avatar
2 votes
0 answers
326 views

I am trying to investigate an issue when building my WiX.3.11.2 based MSIs and so have added the -v command light option but am not seeing any change in the output and indeed the build logs are the ...
MPS's user avatar
  • 63
1 vote
0 answers
362 views

When I move the camera around in certain positions it flashes a completely blinding light. The object that's flickering has an unlit shader graph as a material which is this: (It's meant to be a ...
Justin Kirk's user avatar
0 votes
1 answer
96 views

I've already baked light in this project. And it WAS good. But yesterday when I baked it again there were some artifacts on stairways and doorway. I tried to change lightmapping settings, but it didn'...
shatyloartem's user avatar
1 vote
0 answers
210 views

I imported some FBX meshes into Unity, but even though the geometry is solid, the shadows on the inside edges do not render correctly, almost as if light is bleeding through the edges, even though it ...
hellowShadersWorld's user avatar
0 votes
0 answers
55 views

I'm trying to make a UFO ship with a Spotlight in the middle and 8 pointlights around it as you can see in the figure. I think I got most of the set up correct, but I'm having a hard time preventing ...
Antonio BC's user avatar
0 votes
0 answers
141 views

I want to achieve simulation of flickering effect or realistic shadows casted by natural neon lights. Something like the picture: Glowing Square With Two Light Sources I have tried boxshadow in ...
Alex Yu's user avatar
  • 11
0 votes
1 answer
52 views

we have 9 buttons (1 is the lowest the main button and 8 other buttons), and 8 lights (buttons that their color change randonly while pressing the main button). (demonstrated in the picture below). we ...
מאי כהן's user avatar
1 vote
1 answer
523 views

Recently, I implemented the PBR lighting following the LearnOpenGL tutorial. But I found that the light color the tutorial use is very large (e.g. 20~300, https://learnopengl.com/PBR/Lighting), which ...
tigertang's user avatar
  • 477
0 votes
1 answer
939 views

I've been trying to set up some baked lights for my Unity project, and whenever I switch a light's mode to baked, it turns off completely. No error messages, just a light that's off, and as soon as I ...
MrToenails's user avatar
0 votes
2 answers
2k views

I'm having a problem with URP Lit shader, I'm using a spotLight as a flashlight, it works for the front face of the material, but I can't get the lights to react with the back face, here is how I'm ...
AND4011002849's user avatar
1 vote
1 answer
147 views

I have tried to create a menu to change the color of a local light in my simulation. The simulation is a central sphere being a planet, around an atmosphere with transparency smaller than 1 and a ...
Antonio's user avatar
  • 93
1 vote
0 answers
808 views

How do I make objects that are not actively being lit by a light source be transparent as opposed to just black? I'm trying to achieve an effect with a PointLight2D where selected layers inside the ...
Microbob's user avatar
  • 882
0 votes
1 answer
208 views

Im using unity 2021.3.16f1 and I'm still having this issue with point lights and spot lights, my spot light that acts like a flashlight overrides all of the point lights in my scene, I already cleared ...
AND4011002849's user avatar
0 votes
1 answer
148 views

i am trying to write two scripts, A Tx and a Rx, These are controlled using serial data sent from vixen lights software. RX script #include <FastLED.h> #include <RF24.h> #define DATA_PIN ...
PIxlemonUltraHD's user avatar
0 votes
0 answers
64 views

So I have this manual script for changing my forum from dark to light, however how to do it as a automatic setup from 6pm till 7am dark etc) <script> $(document).ready(function() { ...
Jacek Krajewski's user avatar
0 votes
1 answer
227 views

I'm playing with light 2D in unity and struggling to achieve proper lighting. I want to create a top down shooter with rendering only field of view of a playable character. I have two light sources in ...
wampir's user avatar
  • 1
-2 votes
1 answer
293 views

To be more precise I need a type of lighting that looks good to put on building models that already have a texture, I can't texturize the textures with light turned on apartments such as in GTA5 ...
Damir Shabayev's user avatar
0 votes
1 answer
160 views

Dear Magnificent Community and Developers, There's a PixiJs filter which is based on a shader ""Godrays" by alaingalvan", but it is required to somehow achieve such a filter/shader ...
Serious Angel's user avatar
1 vote
1 answer
354 views

I have a project that is basically a loop of things doing things in a period. I need to know when are they working, so I was wondering if there's a way to turn on the camera's light as an easy way to '...
Pedro Nicory's user avatar
0 votes
0 answers
60 views

There is a problem (most likely with Post Processing) when light hits objects, it illuminates a larger area than itself (as in 1 picture), but at the same moment it works normally in scene viewer (2 ...
maksmarat's user avatar
1 vote
2 answers
299 views

I got the following problem in Android Studio. I tried to rebuild an Google Android Guide for using the light sensor. While typing the code I got this error from Android Studio. It says Unresolved ...
jnaberle's user avatar
1 vote
1 answer
3k views

I'm having a trouble, I'm trying to create a dark scene for my project, but, when I add lights, the lights pass through the objects, it has no sense, becouse it pass through the walls. Light beside of ...
Seokku's user avatar
  • 11
0 votes
1 answer
832 views

I use URP for my Unity 3d project. I have many point lights in my scene, they all set to mixed and important light. However some point lights does not produce any light on the scene after the baking. ...
Jekuper's user avatar
  • 33
1 vote
1 answer
2k views

I've encountered a problem where in my custom Geometry shader, I can't seem to nail the correct attenuation. This causes all point- and spot lights to have a square of light around them. The color is ...
Velorexe's user avatar
0 votes
0 answers
69 views

I am creating a game where a flashlight is involved, though i have found the light source is going through walls that i have created Example showing I have found other questions like these, where the ...
HarryMA's user avatar
  • 15
1 vote
1 answer
703 views

During the creation of an msi file with Light.exe (without Visual Studio), I got a warning for every wxs component in my project. The errors looked like this: C:\path\WXS.wxs(10) : error LGHT0204 : ...
vajnaivik's user avatar
0 votes
2 answers
959 views

I'm trying to make lights in Unity for my house. I've got 14 lights in my house, however, there is a small problem. This is because the lights are dimmed in some parts of the house and not in others. ...
Jerry's user avatar
  • 91

1
2 3 4 5
13