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
3
votes
1 answer

Inner Shadow Text with Silverlight

I've been trying for the last several hours to find a way to create inner shadows for text. Essentially I want to create effects similar to this in Silverlight: Inner text shadow with CSS I was able to find some leads in this website (the closest…
StephenT
  • 789
  • 1
  • 6
  • 18
3
votes
2 answers

A-Frame and Three.js how to set castShadow and receiveShadow

Using AFrame and three. Have made an AFrame simple scene, a camera, a renderer, a spotlight, a plane and a cube. I want the cube to cast shadow into the plane. I have set, using the reference cube.object3D and spotlight.object3D, the .castShadow in…
3
votes
2 answers

Is there a way to prevent faces within self shadow from receiving light?

I'm working on a city scene in Three.js and so far I'm experimenting with lighting and shadow on just a single building. The building was modeled in 3DS Max, then exported to OBJ, then converted with the Python converter from command line. You'll…
3
votes
1 answer

Render the shadows once for all

Given the cost of shadow casting, i was wondering if there is a feature or a possible/experimental way to render a shadowmap only once in three.js (even in webgl), for static objects positionned dynamically (ex: a procedural city). So the result can…
Mouloud85
  • 3,826
  • 5
  • 22
  • 42
3
votes
1 answer

OpenGL Variance Shadow Mapping inverted falloff

I'm trying to implement Variance Shadow Map techniqe with OpenGL API. I have been using tutorial (Fabien Sanglard's Soft shadows with VSM) and followed every step, but my shadowmap looks kind of weird. The main thing i've noticed is that when i…
3
votes
2 answers

Standard POSIX read shadowed by a read method with different signature

I have a C++ File class with read function, that is supposed to read whole contents of a file (just like Python does) into a buffer. However, when I tried to call read function from unistd.h, I get: file.cpp:21: error: no matching function for call…
gruszczy
  • 40,948
  • 31
  • 128
  • 181
2
votes
3 answers

Shadows behaves odd when used in a function

I knew VB.net is very weird when talking about shadows and overloads, but this this I'm completely baffled. I'm working with a model similar to the following one. Parent class: Public Class Base Function F() As String Return "F() in Base…
mbmihura
  • 542
  • 1
  • 8
  • 13
2
votes
2 answers

Omnidirectional Shadow Mapping

I've done environment mapping with cubemaps and shadow mapping in one direction with a 2D texture, but using a cube map for shadow mapping in all directions is giving me a lot of trouble. I recently found out that the depth value I was getting from…
CCSeth
  • 21
  • 2
2
votes
2 answers

Transparent shadows in IE

I have the following code, which makes a box with rounded corners and shadow. It should be compatible with all browsers and it really is, but the thing is I need transparent shadow and IE doesn't support RGBA values :(