Questions tagged [lighting]
Related to computer games' engines and 3d graphics software. For the use of both shadow and light in GUIs and for the use of lighting with respect to programs using hardware such as cameras, that requires code to control the lighting. Must be used with other relevant tags distinguishing the programming language and framework being used. e.g. unity 3d Not to be used with light, as is used in physics having wave and particle characteristics.
lighting
817
questions
0
votes
0
answers
12
views
Lighting doesn't work in Unity with built in URP
I made a Unity project via the 3D URP, and I've been trying to use lighting thru sprite renderers, and 3d objects, however it doesn't work.. At all.
I'm trying to test to see if a red light would ...
0
votes
0
answers
35
views
Unity HDRP Additional Camera Affecting Scene Lighting and Colors Issue with Volume Mask (Unity 2022.3.36f1)
I'm encountering an issue with an additional camera affecting the lighting and colors of my scene in Unity 2022.3.36f1 using HDRP. I've imported an HDRP sample scene and added a new camera ...
0
votes
0
answers
14
views
Is shadow always small in variance shadow mapping?
I have a question of variance shadow mapping I made in my program whether that is well-made or not.
Suppose scene is like below image, because of directional light, region below of cube 1 in cube 2 ...
0
votes
0
answers
23
views
invalid subscript 'shadowAttenuation' Unity Shader Graph for toon shader
I'm trying to make some kind of toon shader in unity responsive to additional lights and being able to receive shadows, so I tried merging some of the public proyects I found. I'm trying to fix every ...
1
vote
0
answers
72
views
"bake" light within three.js
In my three.js project, i have a static scene, that I want to add lighting and shadow to. Since its static, I dont need to re-calculate lights and shadow each frame. When it comes to shadows, I can ...
0
votes
0
answers
19
views
Shadow casting/lighting artifacts on flatshaded mesh
I am procedurally generating chunks using the marching cubes algorithm. I started out by using shared vertices among triangles, but quickly chose to use 3 unique vertices per triangle due to face ...
0
votes
0
answers
28
views
Fade tiles of a tilemap out as a level border
I have a question about the correct practice to make a fading level border.
As you can see in the image, there are level tiles on the upper half (with normal collision polygons) and black (light ...
1
vote
0
answers
44
views
How to Save Baked Lightmaps Within Prefabs in Unity
I'm working on a Unity project where I need to optimize performance by baking lightmaps for my prefabs (the prefabs should always look the same regardless of their position so there is no point in ...
0
votes
0
answers
16
views
Calculate lighting on a view-independent 3D object
I'm working on a 3D FPS game in OpenGL that features "gun holding". I've discovered that the simplest way to draw weapon in the corner of the screen is to ommit the view matrix while ...
0
votes
0
answers
19
views
Lighting/Shadows 2 faces of cube always fail intro black color
I have two faces alwas black, even if i remove shadow from shader they still not clear visible.
I use base project from webGPU examples .
If i update light location/position 2 faces ( image dice ...
0
votes
0
answers
29
views
Sprite lit shaders are going black after exporting to android
I am making a 2d unity game and everything works fine in the editor and game view. But when I export it for android and open it on my phone through google play all the sprites turn black (The water ...
0
votes
0
answers
12
views
Unity3D - What is the lighting set-up in the sample scene for the VR Core Template?
I've opened up the Sample Scene in the VR Core template (in the latest Unity version: 2022.3.22f1) and I'm messing around with it. I'm trying to see what differences there are between it and the old ...
0
votes
0
answers
44
views
Unity. Why does my grass receive different lighting from all other objects?
Those grasses are game objects and they receive incorrect lighting. I don't use static objects and light maps, every light have only real time lighting. I have a day-night cycle and grasses are lit as ...
0
votes
1
answer
172
views
Lightningcss and @custom media
Im install lightningcss and configure vite config. So i define lightningcss and customMedia: true.
import browserslist from "browserslist";
import { browserslistToTargets } from "...
0
votes
1
answer
57
views
Ursina Python Engine: Question about the Lighting System
I saw this Screenshot on the official Ursina Engine Webiste and wanted to ask if this is even possible. If so, how?
I would appreciate any information that could be helpful.
I played around with the ...