648 questions
0
votes
0
answers
51
views
Objects with custom Toon shader turn black after light baking in Unity (URP)
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 ...
1
vote
1
answer
297
views
Ursina Engine Shaders MacOS
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....
0
votes
0
answers
75
views
After restarting home assistant device is displaying as device is no longer avilable
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/...
2
votes
2
answers
162
views
How to make a tree support dark/light mode?
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. ...
0
votes
1
answer
96
views
light.exe : error LGHT0306 : An error (E_FAIL) was returned while finalizing a CAB file
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, ...
1
vote
0
answers
87
views
How to correctly add point light and reflection values in an ray tracing system?
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 ...
0
votes
1
answer
100
views
Unity weird shadow rendering in gameview only
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 ...
1
vote
0
answers
55
views
How to edit default colors based on Bootstrap theme?
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 ...
0
votes
1
answer
476
views
How to change alert style in .Net MAUI Android?
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 ...
1
vote
0
answers
53
views
Weird "bug" in my LOS check, what other algorithm should i use?
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 ...
0
votes
0
answers
140
views
Improving low-light image capture using OpenCV
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
...
0
votes
1
answer
192
views
Threejs cube is black and has no unexpected light
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 ...
-1
votes
2
answers
642
views
How to put a "Pause" or "stop" button in labview
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 ...
0
votes
1
answer
149
views
Lights (spotlight / directionalight) creating waves on my ground texture. How can I remove them?
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 ...
1
vote
1
answer
159
views
Unity - Light Flicker Script not running/working on Play
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 ...