shadow

Add shadow (recessed text effect) to Cocoa label without degrading text rendering quality

I'd like to create statusbar with text effect like in Safari or iTunes, i.e. recessed text. However, if I simply add shadow in Interface Builder using Core Animation panel, OS X's worst text rendering kicks in: What's the trick to get recessed text on a label and keep proper subpixel rendering? ...

Text shadow in IE, alternatives

I have a need for text-shadow for inline, long, paragraph text in IE. I understand progressive enhancement, but the situation is different. I do absolutely need text-shadow, it's not a design issue, but a matter central to the function of my app. In any case, IE does not support CSS text-shadow. What are some alternatives? I know that s...

Override Events in VB.NET

Hello I would like to shadow/override an event in VB.NET. I do it only because I have to implement in this object an interface, that contains the same event like the base object itself, and I need to keep this base event as is it without modification nor supplementary event additions. How can I do it? Public Shadows Event VisibleCha...

Raytraced Shadows Problem

Hey There! I've got a problem with shadowrays in my raytracer. Please have a look at the following two pictures 3D sMax: My Raytracer: The scene is lit by a very bright light, shining from the back. It's so bright that there is no gradient in the shading, just either white or dark (due to the overexposure). both images were rend...

Rendering a point light using 6 spot lights?

I'm trying to render 6 spot lights to create a point light for a shadow mapping algorithm. I'm not sure if I'm doing this right, I've more or less followed the instructions here when setting up my view and projection matrices but the end result looks like this: White areas are parts which are covered by one of the 6 shadow maps, the...

About picture shadow

hello guys I'm stuck on a simple problem which is driving me nuts.You know in andoid MapView may have overLay image on the map,moreover image has a shadow when you call DrawAt method. I also want to get that effect,but my image and shadow is detached,how to make them near to each Other. As follow code you can get two image, how to mak...

drawTextInRect on UITextField not called

I'm trying to implement the answer to this SO question. The problem is: -[drawTextInRect] is apparently not called, and setting the shadow in -[drawRect] doesn't make the UITextField's text shadowed. Another weird thing is that even if my subclass implementations of -[drawTextInRect] and -[drawRect] are completely empty (not even a call...

Shadow maps unable to properly project shadows in some situations?

In the shadow map sample provided by Microsoft I've noticed an issue where shadows are not properly projected when thin geometry is projected at high angles, see here the shadows being projected, notice the poles from the lights are not projected: http://imgur.com/QwOBa.png And in this screenshot we see things from the lights perspectiv...

div shadow with jquery

Is there any plugin for use a shadow effect on a div? thanks ...

What is the best way to create a shadow behind a UIImageView

I have a UIImageView that I want to add a shadow behind. I wish that apple had that as a property but they have to make lots of things hard for us programmers so I need to ask this question. ...

Persistent Shadow Copy in XP SP2?

I'm wondering if XP supports persistent shadow copying like Windows Vista/7 do. I read the wikipedia article about Shadow Copy and it had this paragraph (emphasis mine): The creation of persistent snapshots (multiple snapshots which remain available across reboots until specifically deleted from the system) has been added in Wi...

How to transform back-facing vertices in GLSL when creating a shadow volume

I'm writing a game using OpenGL and I am trying to implement shadow volumes. I want to construct the shadow volume of a model on the GPU via a vertex shader. To that end, I represent the model with a VBO where: Vertices are duplicated such that each triangle has its own unique three vertices Each vertex has the normal of its triangle...

Transparent shadow with jQuery

I have page with fixed 1000px. I want to set shadow on left and right sides of main page. I can't use static .png with y-repeat, because my background is not a fixed color, it is image. So I can't use image. Any jQuery plugin which can do shadow? Or other solutions, not only jQuery plugins... ...

Disable Shadow on a ScatterViewItem on Microsoft Surface

Hello, I'm developing a program on Microsoft Surface. And I didn't succeed to make disable completely the shadow. Here is my problem : http://i61.servimg.com/u/f61/11/31/25/01/sans_t10.png Heres is the XAML code : <s:ScatterViewItem Height="130" x:Name="jetons1" Width="180" CanScale="False" BorderThickness="0" ShowsActiva...

Inner shadow in Core Graphics

I want to do something similar to Photoshops inner shadow effect in Core Graphics. If I draw/fill a path with this effect, I want get something similar to the following: ...

UIView inside UIView with Shadow?

Hi, I've been trying to figure out how to draw a shadow for an UIView that was added inside a UIView with addSubview. I searched online and read the docs, but the Apple docs simply draw new shapes as shown below. I want to use the Core Graphics to add a shadow to the UIView, but am unsure how to do this to a UIView directly. CGContex...

CSS box shadow on container div causes scrollbars

I have a website with the following setup: <div id="container"> <div id="header"></div> <div id="content"></div> <div id="clearfooter"></div> </div> <div id="footer"></div> I use the clearfooter and a footer outside the container to keep the footer at the bottom of the page when there isn't enough content. My problem is that...

Prevent box shadow from showing on a specific side

Is there any way to create a css box-shadow in which regardless of the blur value, the shadow only appears on the desired sides? For example if I want to create a div with shadows on left and right sides and no shadow on the top or bottom. The div is not absolutely positioned and its height is determined by the content. -- Edit -- @r...

iPhone subview with shadow

I have added a subview onto my main view and wish it to have a small shadow, feathered. Is there a way? ...

shadow techniques in opengl

This is comprehensive http://developer.nvidia.com/object/doc_shadows.html however, it's a bit overwhelming can anyone familiar with shadow techniquyes in opengl provide a short summary of the pros/cons and implementation difficulty of the various algorithms? ...