Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
451 views

I am trying to make an NEOPIXEL by Adafruit to be dimmed down by only entering the number of seconds but I can't achieve a smooth transition and it only work with up to 5 seconds. And I can't get it ...
Erik López's user avatar
2 votes
1 answer
2k views

Using Triangle_Strips and heightmaps I made a mountainous terrain, and used 3D planar projection for texturing. For 3D planar projection, I followed section 1.5 of the following link. https://...
Peter's user avatar
  • 508
0 votes
1 answer
884 views

I have two different canvases: one for the background and one for the game scene Principal canvas: Background canvas: I'm having this problem: If I put an object in the principal canvas, everything ...
Jr Antonio's user avatar
1 vote
1 answer
315 views

I can't get my model to light properly. I am making an object consisting of little cubes/voxels and all sides have the same light intensity. I am writing my code in Python and use numpy for arrays. My ...
Nard's user avatar
  • 119
2 votes
1 answer
1k views

How can I change the light intensity value from 3.08 back to 1.0 after 2 seconds. I have comment in my code for additional info public class Point_LightG : MonoBehaviour { public Light ...
Ry Ren's user avatar
  • 51
1 vote
1 answer
6k views

I am very new to WebGL and Three.js as well, so this might be very basic question and always somebody have asked before. What I was playing with my codes was making the small solar system. I used ...
moon's user avatar
  • 670
0 votes
2 answers
498 views

Faced a problem when trying to create a spotlight in my scene. The problem is that my camera is moving around the scene, and because of this, there is something wrong with the lighting. In addition, I ...
congard's user avatar
  • 1,006
0 votes
1 answer
980 views

Im working on a simple game engine using java. Im want to make some light in the game and I want to use RadialGradientPaint. Here is my light class package engine.graphics; import java.awt....
Unknown Name's user avatar
3 votes
1 answer
716 views

So, I'm building a stealth game and while using a shadow buffer with a camera and get pixels has worked, it isn't very effective with the light being at certain angles and it is extremely expensive in ...
Umbra's user avatar
  • 31
0 votes
1 answer
55 views

I am struggling trying to understand how to render an object with auto emitting light. I use the below parameters to set the light: private float ambient = 0.3f; private float diffuse = 1.0f; ...
czane's user avatar
  • 432
1 vote
1 answer
2k views

I am trying to locate my light at position 0,0,0 but it always go bottom left of the box which has coords -20,-20,0 and I try to change light position to some arbitrary coordinates but it still stays ...
Burak's user avatar
  • 29
0 votes
1 answer
131 views

I have IoT project for my thesis, and I am stuck on this kind of problem. This project is reacting to the incidenting light. I have getter for light sensor value[getLightValue()] I have getters and ...
Radovan Kočík's user avatar
1 vote
0 answers
395 views

Currently I am trying to get lighting working in my OpenTK application. Im using the tutorial https://learnopengl.com/Lighting/Basic-Lighting. In it, they load all their vertices along with normalized ...
QuantumAbyss's user avatar
0 votes
1 answer
244 views

AssemblyHelper.cs namespace TEST.Model.BaseClass { public static class AssemblyHelper { public static IEnumerable<Type> GetLoadableTypes(Assembly assembly) { ...
szkut's user avatar
  • 381
1 vote
1 answer
1k views

I have created a small room type scene in three.js where I have added few lights. I have also added features like exposure, power, height at which it is located. Here is the link where you can see ...
aditya aundhekar's user avatar
0 votes
1 answer
230 views

I write game with android opengl es 2.0 and I have a problem with light brightness on some diffrent devices. I use this formula to calculate light in my fragment shader: float shineDamper = 0.0; ...
slaski63's user avatar
2 votes
2 answers
4k views

I have tried everything said here https://gamedev.stackexchange.com/questions/125619/jagged-shadows-with-default-settings and I have shadows in Unity that are jagged/ugly looking that I need to fix. ...
blue's user avatar
  • 7,413
2 votes
0 answers
224 views

Ok, so I have through all of Unity's UnityARKitLightManager from ARKit and I am trying to figure out to how ensure that the gameobjects I place in AR are NOT affected by real world lighting - that ...
blue's user avatar
  • 7,413
0 votes
1 answer
1k views

I started lighting with several light sources. All the manuals that I saw without taking into account the distance between the light source and the object (for example https://learnopengl.com/Lighting/...
congard's user avatar
  • 1,006
3 votes
1 answer
6k views

I have several object in a scene. And I want them moving on a wide plane, which will receive shadows. If I use only one point light or a very large directional light the shadow of a object when it ...
欧阳维杰's user avatar
  • 1,808
0 votes
1 answer
510 views

I want ask about THREE.js lensflare. When my camera dont show my lensflare, its in second dissapear. Is there any option to set something like offset to my camera.. to not hide my lensflare like this? ...
LiH's user avatar
  • 382
0 votes
1 answer
569 views

guys. I have a procedurally generated dungeon, that looks like this (tmp art): With simple lighting, I can get this result: It looks almost perfect (tho, the colors are a bit strange :X). But is there ...
egordorichev's user avatar
0 votes
0 answers
302 views

In my Physics Laboratory we are looking into light diffraction through a number of different slits. Then a camera captures the result. The image obtained has a number of white stripes separated by ...
Jason Dougenis's user avatar
0 votes
1 answer
80 views

I have a little question. I would like to increase the Light.spotAngle property over period of time. The written code works but I want this increase with speed, or something like that. I want to ...
Anghelina Guznac's user avatar
0 votes
1 answer
781 views

I have 2 lights in the room. one is a point light, that ligts up the room, and the other is a spot light that points towards the lava to make the lava brighter. here is a short video showing the ...
Kristian Kjellhov's user avatar

1
3 4
5
6 7
13