mojira.dev
MC-104532

Water makes complete shadow on block

The bug

Water creates a full shadow on blocks to the side of it, even though it does not take up the space of the full block. This issue is only present with brightness set to Moody, and it's easier to reproduce with Smooth Lighting turned off.

To reproduce

Recreate the gravel and water placement as shown in

[media]

with Smooth Lighting set to OFF and brightness set to Moody.

Observed behavior

The water's shadow is visible on the entire sides of the blocks at which it is flowing and does not take up the entire block.

Expected Behavior

The water would not cast a full block shadow when it does not take up an entire block of space.

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media]
migrated

Please force a crash by holding F3+C for 10 seconds and attach the resulting crash report here. Please also attach a screenshot of your video settings.

migrated
---- Minecraft Crash Report ----
// Shall we play a game?

Time: 6/24/16 7:10 PM
Description: Manually triggered debug crash

java.lang.Throwable
	at bcx.az(SourceFile:1705)
	at bcx.t(SourceFile:1626)
	at bcx.av(SourceFile:968)
	at bcx.a(SourceFile:396)
	at net.minecraft.client.main.Main.main(SourceFile:124)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at bcx.az(SourceFile:1705)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bnn['StableGamesTDM'/381, l='MpServer', x=-845.24, y=7.24, z=659.06]]
	Chunk stats: MultiplayerChunkCache: 625, 625
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: 
	Level spawn location: World: (-952,4,567), Chunk: (at 8,0,7 in -60,35; contains blocks -960,0,560 to -945,255,575), Region: (-2,1; contains chunks -64,32 to -33,63, blocks -1024,0,512 to -513,255,1023)
	Level time: 218222 game time, 1654 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 56 total; [zf['Slime'/72068, l='MpServer', x=-924.25, y=4.00, z=585.78], zf['Slime'/133769, l='MpServer', x=-908.17, y=4.00, z=692.50], zf['Slime'/140818, l='MpServer', x=-778.61, y=4.00, z=690.67], zf['Slime'/127900, l='MpServer', x=-792.04, y=4.00, z=589.61], zf['Slime'/136863, l='MpServer', x=-775.97, y=4.00, z=698.05], bnn['StableGamesTDM'/381, l='MpServer', x=-845.24, y=7.24, z=659.06], zf['Slime'/75304, l='MpServer', x=-910.06, y=4.00, z=712.71], zf['Slime'/85928, l='MpServer', x=-914.17, y=5.10, z=587.98], zf['Slime'/107818, l='MpServer', x=-899.79, y=5.17, z=678.78], yp['Creeper'/116529, l='MpServer', x=-817.50, y=5.00, z=618.50], wl['Sheep'/306, l='MpServer', x=-915.81, y=4.00, z=701.70], wl['Sheep'/308, l='MpServer', x=-907.95, y=4.00, z=665.70], zd['Skeleton'/309, l='MpServer', x=-895.50, y=4.00, z=684.50], zf['Slime'/119860, l='MpServer', x=-917.44, y=4.00, z=660.34], zf['Slime'/126260, l='MpServer', x=-793.25, y=4.00, z=720.63], zf['Slime'/68663, l='MpServer', x=-913.39, y=4.00, z=731.83], zf['Slime'/64823, l='MpServer', x=-781.35, y=4.00, z=692.87], zi['Zombie'/313, l='MpServer', x=-871.57, y=4.00, z=621.81], zd['Skeleton'/314, l='MpServer', x=-872.50, y=4.00, z=634.50], zg['Spider'/322, l='MpServer', x=-858.10, y=4.00, z=586.23], zf['Slime'/88131, l='MpServer', x=-780.33, y=5.00, z=591.21], zf['Slime'/79556, l='MpServer', x=-869.16, y=4.00, z=683.67], zd['Skeleton'/326, l='MpServer', x=-858.40, y=4.00, z=595.25], zf['Slime'/88135, l='MpServer', x=-769.47, y=4.00, z=604.07], zf['Slime'/56775, l='MpServer', x=-780.13, y=4.00, z=622.34], zd['Skeleton'/327, l='MpServer', x=-858.50, y=4.00, z=583.50], zi['Zombie'/329, l='MpServer', x=-856.28, y=4.00, z=582.73], yp['Creeper'/330, l='MpServer', x=-854.14, y=4.00, z=614.74], yp['Creeper'/332, l='MpServer', x=-856.21, y=4.00, z=655.51], yp['Creeper'/333, l='MpServer', x=-872.21, y=4.00, z=653.47], zg['Spider'/336, l='MpServer', x=-838.70, y=4.00, z=616.07], zf['Slime'/67153, l='MpServer', x=-908.87, y=4.00, z=737.42], zd['Skeleton'/339, l='MpServer', x=-832.91, y=4.00, z=652.61], zi['Zombie'/340, l='MpServer', x=-848.15, y=4.00, z=651.83], zf['Slime'/157142, l='MpServer', x=-919.31, y=4.00, z=700.60], yp['Creeper'/341, l='MpServer', x=-827.86, y=4.00, z=650.21], zf['Slime'/88276, l='MpServer', x=-810.10, y=6.05, z=680.74], zd['Skeleton'/342, l='MpServer', x=-826.49, y=4.00, z=638.29], yp['Creeper'/343, l='MpServer', x=-834.54, y=9.50, z=636.83], wj['Polar Bear'/344, l='MpServer', x=-845.65, y=5.42, z=658.97], wj['Polar Bear'/345, l='MpServer', x=-845.65, y=4.11, z=664.55], zg['Spider'/349, l='MpServer', x=-816.07, y=4.00, z=584.05], zd['Skeleton'/351, l='MpServer', x=-811.78, y=4.00, z=675.21], zg['Spider'/352, l='MpServer', x=-818.82, y=4.00, z=672.02], zd['Skeleton'/57571, l='MpServer', x=-836.50, y=5.00, z=602.75], zn['Villager'/356, l='MpServer', x=-794.70, y=5.00, z=635.70], wl['Sheep'/359, l='MpServer', x=-789.42, y=4.00, z=627.27], zn['Villager'/360, l='MpServer', x=-793.70, y=5.00, z=652.16], zi['Zombie'/361, l='MpServer', x=-793.50, y=5.00, z=650.70], zf['Slime'/106091, l='MpServer', x=-910.49, y=5.08, z=663.34], zd['Skeleton'/363, l='MpServer', x=-788.72, y=4.00, z=650.50], zf['Slime'/92653, l='MpServer', x=-907.90, y=4.00, z=585.97], zg['Spider'/367, l='MpServer', x=-775.61, y=4.00, z=598.10], zn['Villager'/370, l='MpServer', x=-780.66, y=5.00, z=639.69], yp['Creeper'/376, l='MpServer', x=-771.20, y=4.00, z=603.16], yp['Creeper'/378, l='MpServer', x=-766.47, y=5.00, z=654.77]]
	Retry entities: 0 total; []
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at bln.a(SourceFile:364)
	at bcx.b(SourceFile:2535)
	at bcx.a(SourceFile:405)
	at net.minecraft.client.main.Main.main(SourceFile:124)

-- System Details --
Details:
	Minecraft Version: 1.10.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 143205896 bytes (136 MB) / 355483648 bytes (339 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	Launched Version: 1.10.2
	LWJGL: 2.9.4
	OpenGL: AMD Radeon R9 200 / HD 7900 Series GL version 4.5.13416 Compatibility Profile Context 15.300.1025.1001, ATI Technologies Inc.
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: knives (1).zip
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 4x Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
migrated

i have NEVER touched those video settings.

TCAtrevor

Try turning on smooth lighting

migrated

@TCAtrevor Where?

SunCat

@unknown, Video Settings, 2nd to the left

SunCat

Confirmed with Moody (or any low brightness) and any SmoothLighting (It's better seen when it's off). It's because the light level in the water is 12 (instead of 15), and with bright brightness there's no difference between them.

migrated

SunCat, found it. turned to minimum.

migrated

@SunCat, your attachment is a bit weaker.

SunCat

My attachment is with Moody and Maximum Smooth Lighting (forgot to mention)

migrated

oh.

[Mod]Les3awe

This issue duplicates or relates to MC-95515.

migrated

@Les3awe, only shows HALF of a shadow.

migrated

wow, @suncat, you're a helper now!

migrated

im not sure if i can, but... how can i become a moderator or helper?

migrated

I think you need to get nominated by another mod, or possibly an existing helper.

migrated

Can confirm for 1.15 pre 

Avoma

Can confirm this behavior in 21w40a. Here are some extra details regarding this problem.

The Bug:

Water can produce strange shadows on blocks when smooth lighting is enabled.

Steps to Reproduce:

  • Build the setup as shown in the attachment below.

[media]
  • Ensure that the "Smooth Lighting" option is set to either "Minimum" or "Maximum" in your video settings.

  • Place a white concrete block directly above the diamond block.

  • Look at the lighting between the water and the block that you just placed.

Observed Behavior:

Water can produce strange shadows on blocks when smooth lighting is enabled.

Expected Behavior:

Water would not be able to produce strange shadows on blocks when smooth lighting is enabled.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2 and 22w16b.

Avoma

Can confirm in 1.19.2.

[Mod] markderickson

(Unassigned)

Confirmed

Platform

Low

Lighting

shadow

Minecraft 1.10.2, Minecraft 16w42a, Minecraft 16w43a, Minecraft 1.11.2, Minecraft 1.12.1, ..., 1.19.2, 1.19.4, 23w51b, 1.21, 25w05a

Retrieved