Skip to content

Commit

Permalink
Merge branch 'all-in-one-vs2022' into all-in-one-vs2022-wpo
Browse files Browse the repository at this point in the history
  • Loading branch information
themrdemonized committed Nov 8, 2024
2 parents e60769f + 84a552a commit cc05f92
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ How to compile exes:
6. For successful compilation, **the latest build tools with MFC and ATL libraries is required**
## Changelog
**2024.11.08**
* Lucy, RavenAscendant, NLTP_ASHES: Transparency shader fix for detectors (https://github.com/nltp-ashes/Western-Goods/releases/tag/fix-vanilla-shader)
**2024.11.04**
* `level.map_get_object_spots_by_id(id)` to get all map object spots associated with `id`
Expand Down
21 changes: 21 additions & 0 deletions gamedata/shaders/r3/models_selflight_det.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
function normal (shader, t_base, t_second, t_detail)
shader:begin ("deffer_model_flat","deffer_base_flat")
: fog (false)
: emissive (true)
-- shader:sampler ("s_base") :texture (t_base)
shader:dx10texture ("s_base", t_base)
shader:dx10sampler ("smp_base")
shader:dx10stencil ( true, cmp_func.always,
255 , 127,
stencil_op.keep, stencil_op.replace, stencil_op.keep)
shader:dx10stencil_ref (1)

end

function l_special (shader, t_base, t_second, t_detail)
shader:begin ("shadow_direct_model", "accum_emissive_det")
: zb (true,false)
: fog (false)
: emissive (true)

end

0 comments on commit cc05f92

Please sign in to comment.