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....
AG-88301's user avatar
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. ...
Mark's user avatar
  • 123
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 ...
delmath's user avatar
  • 11
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 ...
Rex Studio's user avatar
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 ...
Led Machine's user avatar
  • 7,662
0 votes
0 answers
118 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,174
-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 ...
Erick Escobar Muñoz's user avatar
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 ...
LucashDev's user avatar
0 votes
1 answer
736 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
0 votes
2 answers
242 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
84 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
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 ...
CichlidFan01's user avatar
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 ...
Justin Kirk's user avatar
1 vote
0 answers
196 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
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 ...
Alex Yu's user avatar
  • 11
1 vote
1 answer
509 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
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
0 answers
775 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
136 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
1 answer
212 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
0 votes
1 answer
146 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
0 votes
0 answers
48 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
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
1 vote
1 answer
1k 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
1 answer
666 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

1
2 3 4 5
13