Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
127 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....
0 votes
0 answers
42 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/...
2 votes
2 answers
147 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. ...
1 vote
0 answers
68 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 ...
0 votes
0 answers
19 views

I'm following some articles to render a simple scene consisting of several spheres and light source. My question is, how would you render the light source itself? For example, a round light bulb, or a ...
0 votes
1 answer
85 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 ...
1 vote
1 answer
707 views

I'm trying to experiment with ways to create a more realistic look in webGL and stumbled on this demo http://madebyevan.com/webgl-path-tracing/. I'm fairly new to javascript and have been using ...
0 votes
1 answer
412 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 ...
-1 votes
2 answers
491 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 ...
0 votes
1 answer
152 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 ...
0 votes
1 answer
139 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 ...
1 vote
1 answer
214 views

I tried to play a little with lighting, but very quickly I came upon weird behavior that I dont understand. Could anybody explain to me, why this happens, if it is on purpose, or I do something wrong. ...
1 vote
1 answer
123 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 ...
0 votes
2 answers
2k views

I have a simple code for esp32 here. I can only use gpio pin number 35 on the board. So esp32 should go to light sleep and wake up on button press. When I run this program below, my esp32 goes into ...
1 vote
0 answers
269 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 ...
0 votes
2 answers
3k views

My point lights renders in unity but it wont render in the oculus headset. What could be the cause. I Could not find a solution online. I am using URP
0 votes
1 answer
84 views

I've got this code: void BlinnPhong( inout float3 outputColor, PixelMaterial material, float3 lightColor, float3 lightDir, float3 viewDirection, float ...
1 vote
2 answers
472 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 ...
0 votes
2 answers
924 views

I use Light Gallery (http://sachinchoolur.github.io/lightGallery) for my website and want to make some customization on it. I want to blur the background image of each and every image items that open ...
1 vote
1 answer
587 views

I have a problem with focus of lights to targets (need focus it on main character and make background darker). The second problem is, that shadows doedn't work. Below is a part of code with deal with ...
1 vote
2 answers
1k views

How can I add lighting ( ambient + directional ) to the shader that used with InstancedBufferGeometry? For example, I want to add lighting to this: https://threejs.org/examples/?q=inst#...
1 vote
0 answers
332 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 ...
0 votes
1 answer
90 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'...
0 votes
0 answers
132 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 ...
0 votes
1 answer
50 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 ...

1
2 3 4 5
13