Page MenuHomeSchine - Phabricator

Starmade | Transparent and invisible blocks produce shadows
Confirmed task for development, LowPublic

Description

Transparent blocks and invisible produce very very marked dark shadows; render it rather strange since the windows are supposed to let the light enter inside (this is how mine works in any case). It's even more strange with forcefield blocks which are supposed to produce light and actually produce light and shade at the same time (it's quite paradoxical).

In the best case, the shadows from tinted glasses should produce colored shadows associated with these tints on surface.
Failing to implement this solution, the shadows from the glasses should be at least mitigated (maybe 25% of the actual shadow mark ?).
Concerning force fields, I think they just shouldn't produce shadows at all since they produce light.

Here a gif where I activate a yellow forcefield block that make a dark black shadow ray on the structure below.

Here a pink glass block and it's shadow and its shadow in my opinion far too visible.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.19595 (Dev)
Category
Engine
First occurrence (version)
0.19556
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
NVIDIA
Video Card Model
GTX 960
Steps to reproduce
  1. Put transparent blocks on a star light exposed surface (i.e. yellow forcefield).
  2. See the shadow.

Same goes for invisible blocks like an empty cargo area or pick up rails.

Tester information (Internal use only)

The transparent block produced a shadow similar to the opaque ship core.

https://youtu.be/w387IgGECtk

Detected video (Graphicsinfo.txt)

Running on thread: ClientThread
Adapter: nvd3dumx,nvwgf2umx,nvwgf2umx
Driver Version: 10.18.13.5330
Vendor: NVIDIA Corporation
OpenGL Version: 4.5.0 NVIDIA 353.30
Renderer: GeForce GTX 960/PCIe/SSE2
GLSL Ver: 4.50 NVIDIA

Clientconfig (settings.cfg)
C_USE_NEW_PLAYER_MODEL_ = true
CONTROL_HELP = false
C_MOUSE_BUTTOM_SWITCH = false
G_RESOLUTION = 1920 x 1080
G_FULLSCREEN = true
G_VSYNCH = false
G_FOV = 110.0
G_MAX_SEGEMENTSDRAWN = 8000
G_DRAW_SURROUNDING_GALAXIES_IN_MAP = false
HIT_INDICATION_NUMBERS_LIFETIME = 0.6
D_LIFETIME_NORM = 30
G_WINDOWED_BORDERLESS = false
S_SOUND_SYSTEM_ENABLED = true
S_SOUND_ENABLED = true
S_SOUND_VOLUME_GLOBAL = 10
N_TRANSMIT_RAW_DEBUG_POSITIONS = false
C_SELECTED_JOYSTICK = 0
ICON_BAKERY_BLOCKSTYLE_ROTATE_DEG = -90.0
MOUSE_WHEEL_SENSIBILITY = 7.0E-4
BUILD_MODE_SHIFT_SPEED = 25.0
ORBITAL_CAM_SPEED = 0.5
G_DAMAGE_DISPLAY = 600
G_STAR_COUNT = 4096
G_VBO_BULKMODE_SIZE = 4
G_DRAW_FOG = false
G_DRAW_BEAMS = true
G_DRAW_EXHAUST_PLUMS = true
D_INFO_CONTROLMANAGER = false
D_INFO_SHADER = true
T_ENABLE_TEXTURE_BAKER = false
D_INFO_DRAW_TIMES = false
D_INFO_DRAW_SPACE_PARTICLE = false
G_SPACE_PARTICLE = true
G_DRAW_MOUSE_COLLISION = false
G_ATMOSPHERE_SHADER = normal
G_SHADOW_QUALITY = ULTRA
G_DRAW_SHIELDS = true
G_DRAW_WATER = true
G_DRAW_BACKGOUND = true
G_WATER_USER_MIPMAPS = false
E_NAVIGATION_FILTER = 869
G_DRAW_ENTITIES = true
G_FRUSTUM_CULLTING = true
G_DRAW_EFFECTS = true
G_SHADER_RELOAD = false
G_FRAMRATE_FIXED = -1
G_SHADERS_ACTIVE = true
G_DEBUG_DRAW_GRID = false
G_DEBUG_DRAW_LINES = true
F_FRAME_BUFFER_USE = false
T_TERRAIN_DRAW = true
T_TERRAIN_WIREFRAME_DRAW = false
G_CULLING_ACTIVE = true
G_TEXTURE_ARRAYS = false
G_AUTO_NORMALIZATION = true
G_DRAW_BY_SIDES = true
G_WIREFRAMED = false
G_NORMAL_MAPPING = false
G_TEXTURE_COMPRESSION_BLOCKS = false
G_TEXTURE_ARRAY_COMPRESSION = true
G_TEXTURE_ARRAY_MIPMAP = true
G_TEXTURE_MIPMAP = true
G_SHADOWS = true
G_SHADOWS_VSM = false
S_PAUSED = false
S_SETTINGS_SHOW = false
MINIMAP_MODE = SMALL
SECTOR_INDICATION_MODE = INDICATION_ONLY
S_KEY_ALLOW_DUPLICATES = true
G_PROD_BG = true
G_PROD_BG_QUALITY = 4096
G_TEXTURE_PACK = Default
GIF_WIDTH = 640
GIF_HEIGHT = 640
GIF_FPS = 15
GIF_GUI = false
G_DEBRIS_THRESHOLD_MS = 4
G_TEXTURE_PACK_RESOLUTION = 256
S_INITIAL_SETTING = Multi Player
S_GAME_MODE = Sandbox
G_BONE_ANIMATION = true
P_NT_DEBUG_ACTIVE = false
P_PHYSICS_DEBUG_ACTIVE_OCCLUSION = false
P_PHYSICS_DEBUG_ACTIVE = false
P_PHYSICS_DEBUG_MODE = 0
G_DEUBG_LINE_DRAWING_ACTIVATED = false
G_WINDOW_START_POSITION = center
G_DRAW_GUI_ACTIVE = true
G_DRAW_NO_OVERLAYS = false
G_PARTICLE_SORTING = true
P_PHYSICS_ACTIVATED = true
G_SMOKE_QUALITY = false
G_DRAW_STARS = true
G_DRAW_PASTE_PREVIEW = true
G_USE_SPRITE_VBO = true
S_TUTORIAL = false
G_AUTOSELECT_CONTROLLERS = true
S_INFO_DRAW = FPS_AND_PING
G_VBO_FLAG = STATIC
N_LAG_COMPENSATION = true
N_IGNORE_SAVED_UPLINK_CREDENTIALS_IN_SINGLEPLAYER = true
N_SERVER_TIME_UPDATE_FREQUENCE = 2000
M_TEXTURE_PACK_CONFIG_TOOL = ./data/textures/block/Default/64/
G_MULTI_SAMPLE = 0
G_MIPMAP_LEVEL_MAX = 3
M_MOUSE_SENSITIVITY = 0.5
G_HIT_INDICATION_SIZE = 1.0
F_BLOOM = true
F_BLOOM_INTENSITY = 0.4
S_MOUSE_LOCK = true
G_DRAW_ADV_BUILDMODE_BLOCK_PREVIEW = true
G_DRAW_ALL_CONNECTIONS = false
G_SHOW_PURE_NUMBERS_FOR_SHIELD_AND_POWER = false
S_FLIP_HOTBAR_MOUSEWHEEL_WITHOUT_CTRL = true
S_ZOOM_MOUSEWHEEL = SLOTS
S_MOUSE_SHIP_INVERT = false
S_MOUSE_ALL_INVERT = false
S_USE_REGION_SIGNATURE_TEST = false
G_PREVIEW_TO_BUILD_BLOCK = true
S_EXIT_ON_ESC = false
G_USE_HIGH_QUALITY_ACKGROUND = true
G_DRAW_POPUPS = true
G_USE_VBO_MAP = true
G_DRAW_JUMP_OVERLAY = true
G_MAG_FILTER_LINEAR_BLOCKS = false
G_MAG_FILTER_LINEAR_GUI = false
G_MAX_BEAMS = 1024
SEGMENT_REQUEST_BATCH = 32
CLIENT_BUFFER_SIZE = 65536
ICON_BAKERY_SINGLE_RESOLUTION = 150
G_RAYTRACE_COUNT = 256
ICON_BAKERY_SINGLE_ICONS = false
G_MUST_CONFIRM_DETACHEMENT_AT_SPEED = 50.0
G_USE_SHADER4 = true
O_OCULUS_RENDERING = false
G_USE_VERTEX_LIGHTING_ONLY = false
CLIENT_TRAFFIC_CLASS = true
G_DRAW_SELECTED_BLOCK_WOBBLE = true
G_USE_TWO_COMPENENT_SHADER = false
A_FORCE_AUTHENTICATION_METHOD = -1
MIN_FFA = 2
B_UNDO_REDO_MAX = 30
N_ARTIFICIAL_DELAY = 0
SEGMENT_PIECE_QUEUE_SINGLEPLAYER = 32767
G_MAX_MISSILE_TRAILS = 128
G_USE_OCCLUSION_CULLING = false
C_AUTOASSIGN_WEAPON_SLOTS = true
G_DRAW_NT_STATS_OVERLAY = false
CLIENT_CUSTOM_TEXTURE_PATH = ./customBlockTextures
SECRET = none
USE_OPEN_AL_SOUND = true
LIMIT_FPS_UNFOCUS = true
GUI_USE_DISPLAY_LISTS = false
USE_GL_MULTI_DRAWARRAYS = true
USE_GL_MULTI_DRAWARRAYS_INITIAL_SET = true
CHAT_CLOSE_ON_ENTER = true
A_FORCE_LOCAL_SAVE_ENABLED_IN_SINGLE_PLAYER = false
G_SHIP_INFO_ZOOM = 0
G_SINGLEPLAYER_CREATIVE_MODE = false
G_DRAW_LAG_OBJECTS_IN_HUD = false
G_SHOW_SYMMETRY_PLANES = true
LANGUAGE_PACK = english
Java Version (64bit)

java version "1.8.0_71"
Java <TM> SE Runtime Environment <build 1.8.0_71-b15>
Java HotSpot<TM> 64-Bit Server <build 25.71-b15, mixed mode>

Related Objects

Event Timeline

Croquelune updated the task description. (Show Details)Feb 9 2016, 5:31 AM
Croquelune changed Category from none/unspecified to Ingame GUI/HUD.
Croquelune set First occurrence (version) to 0.19556.
Croquelune changed Video Card Vendor from uncertain to NVIDIA.
Croquelune set Video Card Model to GTX 960.
Croquelune edited Detected video (Graphicsinfo.txt). (Show Details)
Croquelune edited Serverconfig (server.cfg). (Show Details)
Croquelune edited Clientconfig (settings.cfg). (Show Details)
Croquelune edited Java Version (64bit). (Show Details)
Croquelune changed Affected Gamemode(s) from none/unspecified to Single and Multi.
Croquelune changed Reproducible from uncertain to Yes.
Croquelune set Last tested (version) to 0.19556.
Croquelune edited Steps to reproduce. (Show Details)
Croquelune added a subscriber: Croquelune.
Croquelune created this task.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptFeb 9 2016, 5:31 AM
Croquelune updated the task description. (Show Details)Feb 9 2016, 5:36 AM
Croquelune set Task Type to Bug.
Croquelune set OS-Specific to No.
Croquelune set Hardware-Specific to No.
SmilingDemon shifted this object from the S1 Public space to the S3 Starmade space.Feb 13 2016, 10:05 AM
SmilingDemon changed the visibility from "Custom Policy" to "Public (No Login Required)".
SmilingDemon changed the edit policy from "Task Author" to "Starmade (Project)".
SmilingDemon claimed this task.
SmilingDemon triaged this task as Low priority.
SmilingDemon removed SmilingDemon as the assignee of this task.

-validated-

spunkie claimed this task.Feb 13 2016, 10:14 PM
spunkie changed the task status from Open to In Queue (Game).Feb 21 2016, 9:06 PM

-Confirmed-

The transparent block produced a shadow similar to the opaque ship core.

https://youtu.be/w387IgGECtk

Restricted Application edited projects, added Starmade, Game Development; removed Issue Navigation. · View Herald TranscriptFeb 21 2016, 9:06 PM
spunkie edited Tester information (Internal use only). (Show Details)Feb 21 2016, 9:07 PM
lancake updated the task description. (Show Details)
lancake edited Steps to reproduce. (Show Details)
lancake changed Last tested (version) from 0.19556 to 0.19595 (Dev).
lancake added subscribers: lancake, Crimson-Artist.
lancake renamed this task from Transparent blocks produce shadows to Transparent and invisible blocks produce shadows.

I also add the light blocks too ; because they are also involve in the paradoxical light+shadow production as you can see :

At the moment light ON + sunlight is brighter than light ON + shadow side, render this face really strange like if they were turned off.

Asypha added a subscriber: Asypha.Mar 8 2016, 6:23 AM
Valck added a subscriber: Valck.Jul 18 2016, 7:20 AM

Same happens with pickup/shootout rails/pickup point.

Partially filled cargo spaces cast a full block's shadow, however empty cargo spaces do work as expected and do not cast a shadow.

In T1133#66163, @Valck wrote:

Partially filled cargo spaces cast a full block's shadow [...]

Don't have screen but slabs does the same too (at least the 3/4), cause I have already saw them project their own shadow on their main enlighted face (i.e. while looking front of sun).

AndyP changed the task status from In Queue (Game) to In Queue.Mar 10 2017, 5:08 PM
Restricted Application added a project: GUI/HUD. · View Herald TranscriptMar 10 2017, 5:08 PM
AndyP moved this task from Backlog / Unclassed to Beta on the GUI/HUD board.Mar 15 2017, 1:35 PM
AndyP changed Category from Ingame GUI/HUD to Engine.Mar 15 2017, 1:39 PM
Restricted Application edited projects, added Engine; removed GUI/HUD. · View Herald TranscriptMar 15 2017, 1:39 PM
AndyP moved this task from Backlog / Unclassed to Rendering on the Engine board.Mar 16 2017, 2:26 PM
AndyP edited projects, added Engine (Rendering); removed Engine.