Shadows in front of the sun doesn't work on SketchUp Go

Hi all,
I’m sorry but I found an other “bug” in SketchUp Go, Shadows in front of the sun doesn’t work correctly, I think. On the left the component without the feature, and on the right the component with the feature turned on. They have the same behaviour.

First part of the gif > SketchUp Pro
Second parte of the gif > SketchUp Go

bteqbqtegqt

Sharing the actual file would probably help.
I can’t reproduce this shadows issue. (SketchUp Online version)

Here the link to the model: SketchUp

I’m sorry, what “shadows in front of the sun” ?

there is a parameter to use the sun as a light source, even if you turn off the actual shadows. do you mean this one ?

by default, the camera is the light source, if you tick it, the sun is the light source.

in the file you’re showing us, the sun is used for the shadows. you can see it when rotating, the faceme elements get darker or lighter.


in your initial GIF, it looks like you’re using a style that isn’t shaded anyway. looking at the elements here, faces aren’t shaded.


here is using my work style.

first, shadows are activated. if they are, then turning the “sun as a light source” has no effect since it’s already in use.
then, if I turn off the shadow but use the sun as a light source, you can see the face getting darker.

then I’m using a hidden lines style, and the face is the colour and shade of the background, no matter what.


I think the confusion comes with translation. there is on one side shadow, as in the shadow made by the object onto the ground.
and on the other hand… shading, as in “is the face facing the light or is it angled?”

In the window that appear when you create a componet, there is this feature, that I know how is working in SketchUp Pro, but isn’t in SketchUp Go!

This is a link to the viewer, not the file itself.

For component definitions that have their “Always face the camera” setting enabled it is possible to define that their shadows are always cast as if the component is facing the sun. When you set this property it applies to all instances of the component.

2 Likes

Indeed. What could be the practical use of such a setting?

Without it, for instance, the shadows for trees become very thin when the sun is coming in from the side.

2 Likes

Sorry, here is the file:
Shadows in front of the sun.skp (273.1 KB)

I see, I was looking at your shadow panel in your first gif, not the create component one.

I see the point in this option, but I don’t think I’ve ever used it… anyone around has experience with it ?

When I opened the file in Pro, both components had their “shadow faces sun” setting enabled. I disabled that for “componente#2”, saved and opened the file in the Web version, and it works as it should.

2 Likes

Perfect, I overlooked that although I’ve used it in the past.
The importance is to locate the local origin in the correct location. For instance: a tree trunc → somewhere in the middle at the base.

To resume: it is not a bug but an option to choose from. (1). Explained by @Anssi in post 7
It’s purpose is explained in post 9, again by @Anssi
@Marcokiare, you may want to check one of those posts as the solution.

(1) In SketchUp Web Free this option is not directly available when creating a component. But one can change this specific property through ‘Edit Component Details’ in the ‘Components’ window.

I’m not so sure, I think this may be a bug in the current Web version. There are essentially three states possible, fixed component with fixed shadow, facing camera component with fixed shadow (shadows face sun selected) and facing camera component with rotating shadow ( shadow facing sun deselected) better described as shadow calculated by real time position of facing camera component as the camera moves.

In SketchUp Pro I can create all three and they work as expected.
If I import that same file into SKetchUp for Web, the three work as expected.

However, if I create all three types from scratch within SKetchUp for Web the option to have shadows not face the sun but be calculated by the position of the camera facing object does not work as expected. Even with that option deselected, the shadow remains fixed?

@paul_hudlow @colin

1
2

1 Like

You are right. When creating the component as ‘Always face camera’ keeping the option ‘Shadows face sun’ deselected is not honored. It will be ticked anyway. That is the bug.
One can later untick the option ‘Shadows face sun’ in ‘Edit component details’ in the ‘Components’ window to then work as desired.

2 Likes