Jump to content
The Dark Mod Forums
Sign in to follow this  
stgatilov

Beta Testing 2.07

Recommended Posts

Hmm, does the engine generate world-space normals in any way? All the models use tangent space normalmaps, otherwise you wouldn't be able to place them in the map at your will.

All of this happens on GPU.

The old ARB shaders operated on tangent-space vectors, however the new GLSL code transforms them into world in fragment shader and uses them.

Normally, this is not something to worry about.

 

float R2f = clamp(localL.z * 4.0, 0.0, 1.0);
Had a hard time parsing why there would be much change from the previous SVN commit?...

but that line appears to be the key to adjusting this behavior in the current interaction.fs

I've been tinkering with 3.0 or 4.0 at the end of the line.

This change was introduced because TDM 2.05 worked that way: it clamped this value to [0, 1].

It was done by Rebb in 2012. No idea why.

I guess unclamping it has a potential of overbrightening some zones, but no idea how critical it is.

Share this post


Link to post
Share on other sites

 

The behavior was reverted to how 2.05 looked.

Please compare with 2.05 look and report if there is any difference.

 

Something else must have been changed then. The "correct look" of the first pipe is a screenshot from 2.05.

  • Like 1

Share this post


Link to post
Share on other sites

The behavior was reverted to how 2.05 looked.

Please compare with 2.05 look and report if there is any difference.

 

It's definitely different from 2.05. The smoothing of the models is not being represented properly.

Share this post


Link to post
Share on other sites

Ok, I see that it is different.

 

Is there any oustanding case of this problem?

I looked at the pipes in Matter of Hours, and it is hard to recognize which version is the new one, and which is 2.05.

Share this post


Link to post
Share on other sites

Ok, if my eyes properly see the difference on the pipe, than the problem is due to different interpolation of directions.

I guess I made a few mistakes :o

 

Anyway, I would be glad to see a bold example of the problem to be sure that I fix it completely.

  • Like 1

Share this post


Link to post
Share on other sites

Finally happened again. Here's the log from Arena.

Please also provide your config file (darkmod.cfg).

Also could you explain what exactly you did before crash? Was it immediately after a fresh start of TDM?

 

UPDATE: I tried stupidly to fresh-start Arena mission 100 times, got no crash.

Share this post


Link to post
Share on other sites

Ok, if my eyes properly see the difference on the pipe, than the problem is due to different interpolation of directions.

I guess I made a few mistakes :o

Fixed in svn rev 15565.

I have tested your fix and can confirm that it works. Here are two comparison screenshots and one similar to the one posted by Judith.

 

2.05

post-684-0-83386500-1547722062_thumb.jpg

SVN rev 15565

post-684-0-90142200-1547722080_thumb.jpg

Bottle, SVN rev 15565

post-684-0-61999500-1547722097_thumb.jpg

  • Like 2

Share this post


Link to post
Share on other sites

Please also provide your config file (darkmod.cfg).

Also could you explain what exactly you did before crash? Was it immediately after a fresh start of TDM?

 

UPDATE: I tried stupidly to fresh-start Arena mission 100 times, got no crash.

Config file:

 

unbindall

bind "ENTER" "_impulse51"

bind "ESCAPE" "togglemenu"

bind "SPACE" "_moveup"

bind "-" "_impulse50"

bind "0" "_impulse10"

bind "1" "_impulse1"

bind "2" "_impulse2"

bind "3" "_impulse3"

bind "4" "_impulse4"

bind "5" "_impulse5"

bind "6" "_impulse6"

bind "7" "_impulse7"

bind "8" "_impulse8"

bind "9" "_impulse9"

bind "=" "_impulse49"

bind "[" "_impulse48"

bind "\" "_mlook"

bind "]" "_impulse47"

bind "`" "_impulse0"

bind "a" "_moveleft"

bind "c" "_impulse24"

bind "d" "_moveright"

bind "e" "_impulse46"

bind "f" "_zoom"

bind "g" "_impulse30"

bind "i" "inventory_cycle_group '#str_02391'"

bind "k" "inventory_cycle_group '#str_02392'"

bind "l" "inventory_use '#str_02395'"

bind "m" "inventory_cycle_maps"

bind "o" "_impulse19"

bind "p" "inventory_cycle_group '#str_02389'"

bind "q" "_impulse45"

bind "r" "_impulse52"

bind "s" "_back"

bind "t" "_impulse44"

bind "u" "_impulse51"

bind "v" "inventory_hotkey '#str_02397'"

bind "w" "_forward"

bind "x" "_impulse23"

bind "y" "clientMessageMode 1"

bind "z" "inventory_use '#str_02396'"

bind "BACKSPACE" "inventory_hotkey"

bind "PAUSE" "pause"

bind "UPARROW" "_forward"

bind "DOWNARROW" "_back"

bind "LEFTARROW" "_left"

bind "RIGHTARROW" "_right"

bind "ALT" "_strafe"

bind "CTRL" "_button5"

bind "SHIFT" "_speed"

bind "DEL" "_lookdown"

bind "PGDN" "_lookup"

bind "END" "_impulse18"

bind "F3" "_impulse17"

bind "F4" "savegame quick"

bind "F5" "loadgame"

bind "F6" "_impulse20"

bind "F7" "_impulse22"

bind "F9" "loadgame quick"

bind "F12" "screenshot"

bind "MOUSE1" "_attack"

bind "MOUSE2" "_impulse41"

bind "MWHEELDOWN" "_impulse14"

bind "MWHEELUP" "_impulse15"

seta gui_mediumFontLimit "0.30"

seta gui_smallFontLimit "0.15"

seta radiant_entityMode "0"

seta net_socksPassword ""

seta net_socksUsername ""

seta net_socksPort "1080"

seta net_socksServer ""

seta net_socksEnabled "0"

seta win_ypos "0"

seta win_xpos "0"

seta sys_lang "english"

seta s_decompressionLimit "6"

seta s_useEAXReverb "1"

seta s_numberOfSpeakers "2"

seta s_doorDistanceAdd "450"

seta s_globalFraction "0.8"

seta s_subFraction "0.75"

seta s_playDefaultSound "0"

seta s_volume_dB "0"

seta s_meterTopTime "2000"

seta s_reverse "0"

seta s_spatializationDecay "2"

seta s_maxSoundsPerShader "0"

seta s_device "default"

seta s_diffractionMax "10"

seta r_useFenceSync "1"

seta r_frameIndexMemory "16384"

seta r_frameVertexMemory "16384"

seta r_maxShadowMapLight "1000"

seta r_cinematic_legacyRoq "0"

seta r_fboSeparateStencil "0"

seta r_fboResolution "1"

seta r_shadowMapSize "1024"

seta r_fboSharedDepth "0"

seta r_fboDepthBits "24"

seta r_fboColorBits "32"

seta r_nVidiaOverride "1"

seta r_useFBO "1"

seta r_useGLSL "1"

seta r_useBfgPortalCulling "0"

seta r_postprocess_bloomKernelSize "2"

seta r_postprocess_bloomIntensity "0"

seta r_postprocess "0"

seta r_screenshot_format "jpg"

seta r_debugArrowStep "120"

seta r_debugLineWidth "1"

seta r_debugLineDepthTest "0"

seta com_smp "1"

seta r_forceLoadImages "0"

seta r_testARBProgram "1"

seta r_shadows "2"

seta r_shadowPolygonFactor "0"

seta r_shadowPolygonOffset "-1"

seta r_offsetunits "-0.1"

seta r_offsetfactor "-2"

seta r_clear "2"

seta r_useSoftParticles "1"

seta r_skipDepthCapture "0"

seta r_skipBump "0"

seta r_skipSpecular "0"

seta r_skipNewAmbient "0"

seta r_ambientGamma "1"

seta r_ambientMinLevel "0"

seta r_brightness "1"

seta r_gamma "1"

seta r_swapInterval "0"

seta r_softShadowsRadius "1.607143"

seta r_softShadowsQuality "48"

seta r_customHeight "1011"

seta r_customWidth "1348"

seta r_fullscreen "0"

seta r_multiSamples "4"

seta image_mipmapMode "2"

seta image_blockChecksum "0"

seta image_downSizeLimit "256"

seta image_ignoreHighQuality "0"

seta image_downSizeBumpLimit "128"

seta image_downSizeSpecularLimit "64"

seta image_downSizeBump "0"

seta image_downSizeSpecular "0"

seta image_usePrecompressedTextures "1"

seta image_useNormalCompression "1"

seta image_useAllFormats "1"

seta image_useCompression "1"

seta image_preload "1"

seta image_roundDown "1"

seta image_forceDownSize "0"

seta image_downSize "0"

seta image_lodbias "0"

seta image_anisotropy "2"

seta image_filter "GL_LINEAR_MIPMAP_LINEAR"

seta r_shadowMapSinglePass "0"

seta r_cinematic_checkImmediately "0"

seta r_cinematic_log_flush "0"

seta r_cinematic_log_ffmpeg "0"

seta r_cinematic_log "0"

seta net_serverDlTable ""

seta net_serverDlBaseURL ""

seta net_serverDownload "0"

seta mod_validSkins "skins/characters/player/marine_mp;skins/characters/player/marine_mp_green;skins/characters/player/marine_mp_blue;skins/characters/player/marine_mp_red;skins/characters/player/marine_mp_yellow"

seta g_mapCycle "mapcycle"

seta g_voteFlags "0"

seta g_gameReviewPause "10"

seta g_countDown "10"

seta g_password ""

seta g_rotoscope "0"

seta g_testModelHeadJoint "Spine2"

seta g_testModelHead "atdm:ai_head_citywatch"

seta g_skipViewEffects "0"

seta g_fov "90"

seta g_showBrass "1"

seta g_showProjectilePct "0"

seta g_showHud "1"

seta g_showPlayerShadow "0"

seta pm_air_regainingSpeed "4"

seta pm_air "1800"

seta pm_modelView "0"

seta pm_thirdPersonDeath "0"

seta pm_thirdPerson "0"

seta pm_thirdPersonClip "1"

seta pm_thirdPersonAngle "0"

seta pm_thirdPersonHeight "0"

seta pm_thirdPersonRange "80"

seta pm_bobroll "0.0015"

seta pm_bobpitch "0.001"

seta pm_bobup "0.03"

seta pm_runroll "0.003"

seta pm_runpitch "0.001"

seta pm_runbob "0.35"

seta pm_walkbob "0.3"

seta pm_crouchbob "0.2"

seta pm_bboxwidth "32"

seta pm_crouchrate "0.87"

seta pm_deadviewheight "10"

seta pm_deadheight "20"

seta pm_normalviewheight "68"

seta pm_normalheight "74"

seta pm_crouchviewheight "34"

seta pm_crouchheight "38"

seta pm_maxviewpitch "89"

seta pm_minviewpitch "-89"

seta pm_noclipspeed "200"

seta pm_walkspeed "70"

seta pm_stepsize "16"

seta pm_jumpheight "48"

seta g_enablePortalSky "2"

seta g_showcamerainfo "0"

seta g_damageScale "1"

seta g_decals "1"

seta g_doubleVision "1"

seta g_bloodEffects "1"

seta g_projectileLights "1"

seta g_muzzleFlash "1"

seta gui_CenterY "0.5"

seta gui_CenterX "0.5"

seta gui_Height "1.0"

seta gui_Width "1.0"

seta r_fovRatio "0"

seta r_aspectRatio "0"

seta ui_showGun "1"

seta ui_autoSwitch "1"

seta ui_team "Red"

seta ui_skin "skins/characters/player/marine_mp"

seta ui_name "Player"

seta si_serverURL ""

seta si_spectators "1"

seta si_usePass "0"

seta si_warmup "0"

seta si_teamDamage "0"

seta si_timeLimit "10"

seta si_maxPlayers "4"

seta si_map "game/mp/d3dm1"

seta si_gameType "singleplayer"

seta si_name "DOOM Server"

seta tdm_lod_bias "1.0"

seta tdm_voice_from_off_volume "-1.694355"

seta tdm_voice_player_volume "-1.99581"

seta tdm_music_volume "-16.351221"

seta tdm_ambient_method "0"

seta tdm_door_auto_open_on_unlock "1"

seta tdm_bow_aimer "0"

seta tdm_lp_debug_hud "0"

seta tdm_lp_pawlow "0"

seta tdm_lp_randomize "1"

seta tdm_lp_auto_pick "0"

seta tdm_lp_autopick_attempts "3"

seta tdm_lp_pick_timeout "400"

seta tdm_lp_sample_delay "10"

seta tdm_lp_base_count "5"

seta tdm_empty_model "models/darkmod/misc/system/empty.lwo"

seta tdm_lg_model "models/darkmod/misc/system/lightgem.lwo"

seta tdm_lg_weak "0"

seta tdm_lg_interleave_min "40"

seta tdm_lg_interleave "1"

seta pm_rope_snd_rep_dist "32"

seta pm_min_stepsound_interval "200"

seta pm_stepvol_crouch_creep "-7"

seta pm_stepvol_crouch_run "4"

seta pm_stepvol_crouch_walk "-2"

seta pm_stepvol_creep "-5"

seta pm_stepvol_run "8"

seta pm_stepvol_walk "0"

seta tdm_underwater_blur "3"

seta tdm_rope_pull_force_factor "140"

seta gui_objectiveTextSize "1.0"

seta gui_barSize "1.0"

seta gui_lightgemSize "1.0"

seta gui_bigTextSize "1.0"

seta gui_smallTextSize "1.0"

seta gui_iconSize "1.0"

seta tdm_inv_use_visual_feedback "1"

seta tdm_door_control "0"

seta tdm_inv_use_on_frob "1"

seta tdm_inv_loot_sound "frob_loot"

seta tdm_inv_hud_pickupmessages "1"

seta tdm_hud_hide_lightgem "0"

seta tdm_hud_opacity "0.7"

seta tdm_grabber_reverse_control "0"

seta tdm_bounce_sound_min_vel "80"

seta tdm_bounce_sound_max_vel "400"

seta tdm_throw_max_vel "900"

seta tdm_throw_time "1200"

seta tdm_throw_max "3500"

seta tdm_throw_min "600"

seta tdm_phys_show_momentum "0"

seta tdm_ai_hearing_hardcore "1.5"

seta tdm_ai_hearing_challenging "1.0"

seta tdm_ai_hearing_forgiving "0.6"

seta tdm_ai_hearing_nearly_deaf "0.2"

seta tdm_ai_hearing "2"

seta tdm_ai_vision_hardcore "1.5"

seta tdm_ai_vision_challenging "1.2"

seta tdm_ai_vision_forgiving "0.6"

seta tdm_ai_vision_nearly_blind "0.2"

seta tdm_ai_vision "2"

seta tdm_melee_difficulty "hard"

seta tdm_melee_max_particles "10"

seta tdm_melee_forbid_auto_parry "0"

seta tdm_melee_auto_parry "0"

seta tdm_melee_invert_parry "0"

seta tdm_melee_invert_attack "0"

seta tdm_melee_mouse_thresh_ "0"

seta tdm_dragged_item_highlight "1"

seta tdm_drag_encumber_max "0.4"

seta tdm_drag_encumber_maxmass "55"

seta tdm_drag_encumber_minmass "10"

seta tdm_drag_jump_masslimit "20"

seta tdm_drag_af_free "0"

seta tdm_drag_af_ground_timer "800"

seta tdm_drag_damping_af "0.4"

seta tdm_drag_damping "0.0"

seta tdm_drag_stuck_dist "38.0"

seta tdm_drag_force_max "100000"

seta tdm_drag_limit_force "1"

seta tdm_collision_damage_scale_horiz "0.5"

seta tdm_collision_damage_scale_vert "1"

seta tdm_frobhelper_ignore_size "40.0"

seta tdm_frobhelper_fadeout_duration "500"

seta tdm_frobhelper_fadein_duration "1500"

seta tdm_frobhelper_fadein_delay "500"

seta tdm_frobhelper_alpha "1.0"

seta tdm_frobhelper_active "0"

seta tdm_frob_fadetime "100"

seta tdm_frob_width "10.0"

seta tdm_frob_distance_default "63"

seta pm_lean_toggle "0"

seta pm_lean_door_bounds_exp "8.0"

seta pm_lean_door_max "40"

seta pm_lean_door_increments "10"

seta pm_lean_to_valid_increments "25"

seta pm_lean_forward_stretch "15"

seta pm_lean_forward_height "0.4"

seta pm_lean_forward_time "400.0"

seta pm_lean_forward_angle "2"

seta pm_lean_stretch "2"

seta pm_lean_height "0.4"

seta pm_lean_time "400.0"

seta pm_lean_angle "15.0"

seta tdm_reattach_delay "100"

seta tdm_crouch_toggle_hold_time "400"

seta tdm_toggle_crouch "1"

seta tdm_footfall_sounds_movetype_specific "1"

seta pm_mantle_pullFast_msecs "450"

seta pm_mantle_maxLowObstacleHeight "36.0"

seta pm_mantle_minflatness "0.707"

seta pm_mantle_height "0.2"

seta pm_mantle_reach "0.5"

seta pm_weightmod "1"

seta pm_push_max_mass "200"

seta pm_push_heavy_threshold "0.15"

seta pm_push_accel_time "1000"

seta pm_push_start_delay "1000"

seta pm_push_maximpulse "300"

seta pm_pushmod "0.15"

seta pm_max_swimspeed_mod "1.4"

seta pm_crouchmod "0.54"

seta pm_creepmod "0.44"

seta pm_runmod "2.12"

seta tdm_savegame_compress "1"

seta tdm_force_savegame_load "0"

seta tdm_mainmenu_confirmquit "1"

seta tdm_debug_aastype "aas32"

seta tdm_allow_http_access "1"

seta tdm_proxy_pass ""

seta tdm_proxy_user ""

seta tdm_proxy ""

seta tdm_fm_restart_delay "0"

seta tdm_default_relations_def "atdm:team_relations_default"

seta tdm_show_trainer_messages "1"

seta tdm_menu_music "0"

seta tdm_wideScreenMode "-1"

seta tdm_ai_show_aasfuncobstacle_state "0"

seta tdm_show_health "0"

seta tdm_ai_debug_greetings "0"

seta tdm_ai_debug_transition_barks "0"

seta tdm_ai_opt_nolipsync "0"

seta tdm_ai_opt_update_enemypos_interleave "48"

seta tdm_ai_opt_interleavethinkframes "0"

seta tdm_ai_opt_interleavethinkskipPVS "0"

seta tdm_ai_opt_interleavethinkmaxdist "0"

seta tdm_ai_opt_interleavethinkmindist "0"

seta tdm_ai_search_type "4"

seta tdm_ai_visdist_show "0.0"

seta tdm_ai_search_show "0.0"

seta tdm_showko "0"

seta tdm_showsprop_radius "0"

seta tdm_showsprop "0"

seta tdm_spr_debug "0"

seta tdm_sndprop_disable "0"

seta tdm_ai_acuity_susp "1.2"

seta tdm_ai_acuity_L5 "1.5"

seta tdm_ai_acuity_L4 "1.3"

seta tdm_ai_acuity_L3 "1.1"

seta tdm_ai_show_conversationstate "0"

seta tdm_ai_show_enemy_visibility "0"

seta tdm_ai_sight_scale "1000.0"

seta tdm_ai_sight_thresh "1.0"

seta tdm_ai_showelevator "0"

seta tdm_ai_showdoor "0"

seta tdm_ai_debug_blocked "0"

seta tdm_ai_showAASarea "0"

seta tdm_ai_showgoalpos "0"

seta tdm_ai_showdest "0"

seta tdm_ai_showalert "0"

seta tdm_ai_showtasks "0"

seta tdm_ai_showanimstate "0"

seta tdm_ai_showko "0"

seta tdm_ai_showfov "0"

seta tdm_ai_debug "0"

seta tdm_ai_bumpobject_impulse "250"

seta tdm_ai_tact "20.0"

seta tdm_ai_sight_combat_cutoff "20.0"

seta tdm_ai_sightmin "15.0"

seta tdm_ai_sightmax "40.0"

seta tdm_ai_sight_mag "1.0"

seta tdm_ai_sight_prob "0.7"

seta tdm_ai_showname "0"

seta tdm_ai_showbark "0"

seta tdm_ai_sndvol "0.0"

seta tdm_player_wait_until_ready "1"

seta com_automation_port "3879"

seta m_strafeSmooth "4"

seta m_smooth "1"

seta m_strafeScale "6.25"

seta m_yaw "0.022"

seta m_pitch "0.022"

seta sensitivityMenuOverride "0"

seta sensitivityMenu "1.0"

seta sensitivity "5"

seta in_toggleZoom "0"

seta in_toggleCrouch "0"

seta in_toggleRun "0"

seta in_alwaysRun "0"

seta in_freeLook "1"

seta in_anglespeedkey "1.5"

seta in_pitchspeed "140"

seta in_yawspeed "140"

seta gui_configServerRate "0"

seta com_maxFPS "166"

seta com_savegame_preview_format "jpg"

seta com_numQuickSaves "2"

seta com_guid ""

seta com_fixedTic "0"

seta com_preloadDemos "0"

seta com_compressDemos "1"

seta com_product_lang_ext "1"

seta logFile "2"

seta com_showFPSavg "4"

seta com_showFPS "0"

seta com_purgeAll "0"

 

 

 

 

After a few more tests I think I've pinpointed the procedure that causes it. I can get it 100% of the time like this:

Start up a mission that still has the loading error I posted before (CoS1)

Right after getting the error load up Arena

After the "Press Attack to start" screen it will crash

Share this post


Link to post
Share on other sites

Confirmed! I can reproduce this by loading up an unfixed CoS1, waiting for the error message and then loading up Arena. Here is the callstack of the crash with a Read access violation due to "this" being NULL.

 

TheDarkMod.exe!idImage::Bind() Line 1377 C++
TheDarkMod.exe!RB_GLSL_DrawInteraction(const drawInteraction_t * din=0x0464fa94) Line 152 C++
[inline Frame] TheDarkMod.exe!RB_SubmittInteraction(drawInteraction_t *) Line 526 C++
TheDarkMod.exe!RB_CreateSingleDrawInteractions(const drawSurf_s * surf=0x28ee4680) Line 776 C++
TheDarkMod.exe!RB_GLSL_CreateDrawInteractions(const drawSurf_s * surf=0x28ee4680) Line 218 C++
[inline Frame] TheDarkMod.exe!RB_GLSL_DrawLight_ShadowMap() Line 430 C++
TheDarkMod.exe!RB_GLSL_DrawInteractions_SingleLight() Line 486 C++
TheDarkMod.exe!RB_GLSL_DrawInteractions() Line 606 C++
TheDarkMod.exe!RB_STD_DrawView() Line 1213 C++
TheDarkMod.exe!RB_DrawView() Line 949 C++
TheDarkMod.exe!RB_ExecuteBackEndCommands(const emptyCommand_t * cmds=0x28ee5080) Line 904 C++
[inline Frame] TheDarkMod.exe!R_IssueRenderCommands(frameData_t * frameData=0x01f29ed0) Line 135 C++
TheDarkMod.exe!idRenderSystemLocal::EndFrame(int * frontEndMsec=0x00000000, int * backEndMsec=0x00000000) Line 615 C++
TheDarkMod.exe!idSessionLocal::UpdateScreen(bool outOfSequence=false) Line 2802 C++
TheDarkMod.exe!idCommonLocal::Frame() Line 2487 C++
TheDarkMod.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x000f4a1c, int nCmdShow=10) Line 1363 C++

Share this post


Link to post
Share on other sites

Have you seen this shadow bug? It's on crucible. Forgot to record the viewpos, but I can supply it, if needed. It's next to the tavern.

https://youtu.be/GzQ2_ZSxFEE

(Please don't mind the moment when I got to the settings menu to change the exact same setting I did before in the console. ^^ )

Share this post


Link to post
Share on other sites

These maps use huge spiders also:

 

arena.map fixed

 

solarescape1.map fixed

 

ravine.map FIXED! (phew)

 

(Would not dmap in 2.07 without the old Def!

discarded my successful dmap with old def and re-packed the original mission

with the old spider Def.)

 

cloister.map

Updating...


Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Share this post


Link to post
Share on other sites

cloister.map

I can't find this one?

 

I know of an internal dev map with the name but not a released mission.

 

As far as I can tell, this was either not a release map or was renamed

when the mission was updated prior to my investigation?


Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Share this post


Link to post
Share on other sites

No, I mean that small visible bright corner while moving (stencil) or in general (maps).

Share this post


Link to post
Share on other sites

Cloister is probably one of the unreleased Crucible of Omens maps. Not sure who has ownership at this point.

Share this post


Link to post
Share on other sites

OK, I can confirm that the single pass shadow map mode now works with the alphaTested materials that I use in my WIP (we were discussing how it didn't look correctly wrt to the vines on one of the tombstones in The Warrens, but I haven't gone in to check). Regarding singlepass though, I was fortunate to turn it on and check, because I found a bad interaction with shadowcaulk by chance.

r_shadows 1 (or r_shadows 2 with singlepass mode 0):

VlJ6KzEm.jpg

r_shadows 2 with singlepass 1:

Aj4U78um.jpg

How the scene's set up in DR:

DjI0TRq.jpg

 

I really don't think this is related to the noFog change. Before you rush to fixing shadowpass though, while shadowpass 0 will fix shadowcaulk, it will not fix shadow/shadow2. Here's the problem: with shadow stencils, the front faces, facing the light, don't cast shadows? I don't know if that's the right way to explain it. With shadow volumes, shadowpass on or off, they do. Here's pictures to better visualize it:

 

Brush textured with common/shadow2 with r_shadows 1:

8Oj76ZB.jpg

 

Same brush with r_shadows 2:

 

hPKtytE.jpg

 

edit: I suppose a better way to phrase it is that with r_shadows 2, the the faces of the brush cast shadow in the gap created by the brush's volume itself, which should not happen.

Edited by Spooks
  • Like 1

My FMs: The King of Diamonds (2016)



| Visit my Mapbook thread sometimes! | Read my tutorial on Image-Based Lighting Workflows for TDM! |

Share this post


Link to post
Share on other sites

shadowcaulk is how you approximate a low-poly shadow mesh when using Brush geometry to build your map.

 

Not everyone builds 99.9999% of their mission in Blender \ 3DSmax etc ;)


Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Share this post


Link to post
Share on other sites

It's not even about that, I'm talking about existing sets of modules by Spring that either cast shadows by themselves or have dedicated shadowmeshes. No need to override them with frankly quite ugly shadows from blocky brushes.

Share this post


Link to post
Share on other sites

I'd be more concerned about whether the environment would react with the expected physical behaviour, since caulk is solid but not wooden.

  • Like 1

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Share this post


Link to post
Share on other sites

With the current build, I'm noticing that when I press Quicksave, my inventory and weapon icons are briefly replaced with what looks like rows of white text on a black background. Anyone else notice this?

 

edit: see video.

 

Share this post


Link to post
Share on other sites

I've had something similar with every 2.07 build I've tried; I assumed it was a relic of the general glitching I was getting before updating my GPU driver.


Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Share this post


Link to post
Share on other sites

With the current build, I'm noticing that when I press Quicksave, my inventory and weapon icons are briefly replaced with what looks like rows of white text on a black background. Anyone else notice this?

 

edit: see video.

 

I think that effect is even more pronounced on debug builds. I suppose we access data that has already been destructed. I'll run TDM with full page heap to see if we have any out-of-bands memory accesses.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...