Questions tagged [shadows]

Shadows can refer to the background shading often used to produce a 3D effect. Alternatively it is a Keyword in VB.NET and has an OOP meaning of redefining base methods.

Shadows can refer to the background shading often used to produce a 3D effect.

Alternatively it is a Keyword in VB.NET and has an OOP meaning of redefining base methods.

The VB.NET meaning has been usefully defined by Shadows vs Overrides in VB.NET and Shadows vs Overloads in VB.NET.

(If it wasn't a keyword, these two meanings should have different tags.)

100 questions
1
vote
1 answer

Check if a fragment is within a specified area

Consider the following scene. I transformed pMin and pMax from world space to viewport space. The area bound by pMin and pMax follows the users mouse sliding over the plane (larger rectangle). Is there a way inside the fragment shader to decide if…
Lngly
  • 95
  • 2
  • 9
1
vote
2 answers

Should I shadow or override?

I know there are quite a few questions and other webpages explaining the difference between shadowing and overriding. Unfortunately I still haven't understood which one I should use. My situation is this: I wish to make a class that inherits the…
Toby
  • 9,696
  • 16
  • 68
  • 132
1
vote
1 answer

How to modify the contents of a method in .NET

i'd like to know if there is a way in which I can "shadow" a function, the following class is in an assembly reference of my current project, i cannot modify in any way the assembly's content. Public Class CoordinateSpace Public Function…
defmx
  • 13
  • 3
1
vote
1 answer

Shadows are not being casted right on imported OBJ

I am trying to make this object cast a shadow. But there are strange shadows on the edges. I think the object is casting a shadow onto another component of "itself" Is there a way to remove that? Here is the fiddle:…
PCoelho
  • 7,850
  • 11
  • 31
  • 36
1
vote
0 answers

Shadow Mapping Wobble

Ive been researching omnidirectional shadow mapping and have been stuck on this problem for a while. Basically the shadows seem to wobble as the camera is moved or rotated. I made a video here: http://youtu.be/w8IAdNPglAc The problem is most visible…
1
vote
2 answers

Is there a way to code this shadow in css?

I was wondering if there is any way to code the green shadow in that shape with css
Lox
  • 299
  • 2
  • 4
  • 18
1
vote
0 answers

How to have shadows?

I was wondering how to get the shadows like the one in the screenshot... 1. Shadow from ActionBAr(ActionBarSherlock) 2. Shadow from Right Panel. I tried using gradient... but it is not working well... Please suggest something...
Debopam Mitra
  • 1,842
  • 4
  • 27
  • 51
0
votes
1 answer

iPhone SDK: How to Draw a Rounded Rectangle With a Semi-Transparent Gradient and a Drop Shadow

I'm experimenting with drawing on the iPhone by manually creating parts of the UI for my application (In this case a graph). Essentially, I want to draw a rectangle with rounded corners, a drop-shadow, and a semi-transparent gradient as the fill of…
joshwbrick
  • 5,882
  • 9
  • 48
  • 72
0
votes
1 answer

Three JS shadow bug?

I was trying to create shadows using a simple directional light & a shadow material, the problem is that the shadows seem to work properly, in a box and when model outside that zone it just disappear ??? image of the shadow at the bounds here's the…
aymen ayoo
  • 92
  • 9
0
votes
1 answer

How to do point light shadows with deferred rendering?

I was wondering how I would go about programming point light shadows with deferred rendering?? The point light shadows just dont show up for me. I think it is to do with the following line: float shadow = calculate_shadows(FragPos); as for…
Charl1e
  • 75
  • 1
  • 9
0
votes
1 answer

SSAO & Shadow mapping | Shadows do not work with the SSAO

The SSAO in our engine seems to be working, however I cannot get the SSAO to work with shadow mapping. Here is a screenshot of the bug I am currently having when shadows are applied.... With shadows applied But also, depending on the camera view and…
Charl1e
  • 75
  • 1
  • 9
0
votes
0 answers

Object loaded with ObjLoader does not receive shadows in three.js

The model casts shadows on a ground-plane but it does NOT receive shadows from another small plane in front (which does cast shadows on the ground-plane), let alone from itself. Any ideas ??? var light = new THREE.DirectionalLight( 0xffefee, 1.2…
user5515
  • 301
  • 2
  • 18
0
votes
1 answer

CSS shadow change side

-moz-box-shadow: inset 3px 3px rgba(0,0,0,0.5); -webkit-box-shadow: inset 3px 3px rgba(0,0,0,0.5); box-shadow: inset 3px 3px rgba(0,0,0,0.5); this makes an inset shadow on the top, and left. I can't figure out to make it on the bottom and the…
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
0
votes
1 answer

Opengl es 2.0 shadows flickering when shadow camera moves

I know this is a well known issue but I cant find a solution that works for me. I have nice shadows in my app. I am using an ortho projection matrix to render the shadow map. To keep the shadow detail high I am moving the shadow camera as the…
J mott
  • 21
  • 4
0
votes
1 answer

Making rain particle as shadows

I've created following scene: What you see is the light shining through a window to the back wall of the room. Outside is a tree blowing in the wind. What I'm trying to simulate it a stormy weather, so I need to add rain to the scenery as well.…
Jon Dier
  • 157
  • 1
  • 3
  • 17