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
66
votes
17 answers

'Shadows' vs. 'Overrides' in VB.NET

What is the significance of the two keywords Shadows and Overrides? What they do and for which context is one or the other preferable?
Jeff
  • 8,020
  • 34
  • 99
  • 157
39
votes
5 answers

Cardview not showing shadow along bottom

I have the following xml for a cardview:
Zerp
  • 874
  • 2
  • 8
  • 18
24
votes
4 answers

Shadows vs Overloads in VB.NET

When we have new in C#, that personally I see only as a workaround to override a property that does not have a virtual/overridable declaration, in VB.NET we have two "concepts" Shadows and Overloads. In which case prefer one to another?
serhio
  • 28,010
  • 62
  • 221
  • 374
16
votes
2 answers

Is there an easy way to get shadows in OpenGL?

I recently created some landscape code and added some diffuse lighting to the scene, however, to my disappointment, there are no shadows. I looked around the web for hours looking for ways to get shadows in OpenGL, however they all seemed terribly…
user354346
13
votes
2 answers

Difference between Shadows (VB.NET) and New (C#)

Simple question from a simple-minded: What are the differences between the Shadows keyword in VB.NET and the New keyword in C#? (regarding method signatures of course).
M.A. Hanin
  • 8,044
  • 33
  • 51
10
votes
2 answers

How to create custom shadows in robolectric 3.0?

I need to mock some custom class (create for it a shadow). I have already read on http://robolectric.org/custom-shadows/ how to do this. so, i have some class: public class MyClass { public static int regularMethod() { return 1; } } I create a…
yital9
  • 6,544
  • 15
  • 41
  • 54
9
votes
3 answers

Set the z-index value of a jQuery autocomplete input a level above the result list itself

The default behavior for the jQuery Autocomplete widget is to position the results list one z-index level above the input so that the latter is always visible but in my case this has the undesirable effect of overshadowing the text input element. I…
Ziad
  • 1,036
  • 2
  • 21
  • 31
8
votes
1 answer

Shadow Removal in Python OpenCV

I am trying to implement shadow removal in python OpenCV using the method of entropy minimization by Finlayson, et. al.: "Intrinsic Images by Entropy Minimization", Finlayson, et. al. I can't seem to match the results from the paper. My entropy…
adam.hendry
  • 4,458
  • 5
  • 24
  • 51
8
votes
0 answers

Parallax Shadows in iOS 7

I was originally seeking the answer to this question, but before I could ask it, the solution occurred to me, and it works perfectly. Basically, my question way, under iOS 7 can you have a shadow layer that moves with parallax? The answer is yes,…
Owen Godfrey
  • 3,361
  • 2
  • 22
  • 18
7
votes
1 answer

Shadowing events in .NET

In VB.NET there is a keyword 'shadows'. Let's say I have a base class called 'Jedi' and a derived class called 'Yoda' which inherits from 'Jedi'. If I declare a method in 'Jedi' called 'ForcePush' and shadow that out in 'Yoda' then when calling the…
dnatoli
  • 6,972
  • 9
  • 57
  • 96
5
votes
1 answer

Getting shadows to work in Three.js custom shader

I'm trying to get shadows to work in a custom shader in Three.js. I've tried to add these into my codes: In uniforms: THREE.UniformsLib["shadowmap"] In the fragment…
skeelogy
  • 397
  • 2
  • 12
5
votes
2 answers

CSS: Shadow doesn't go away when hovering

I made a little menu with a few button. I've added a shadow to the menu buttons. It works perfectly. I would like to make some "depth" in the menu, so they really become "buttons". This works well if you play around with shadows. Without any…
user1552839
4
votes
2 answers

Three.js - Why is the shadow of these items looking like this?

I'm learning about three.js. I make a example to practise but the shadow of the items is looking wrong or stranger. Should be like this (this image is of a old tutorial): And the code is this:
Jessica MC
  • 125
  • 1
  • 13
4
votes
3 answers

Android 5 Lollipop shadow direction or y offset

Is there a possibility to change the shadow direction of Y offset? Right now I have the following layout
djandreski
  • 334
  • 1
  • 4
  • 24
3
votes
2 answers

shadow mapping multitexture

There is this tutorial about shadow mapping: http://www.paulsprojects.net/tutorials/smt/smt.html Ok, but I did not realize how to make a scene with multitexture. If in the third pass of shadow mapping It is need to bind the shadow mapping projected…
okami
1
2 3 4 5 6 7