mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 09:19:58 -04:00
Draw lines as wide as the game sets them.
The game's line width was dropped at the call and every line drawn 1 pixel wide; the game draws two lines a frame at 4.5 pixels into a 144x144 mask. The width is now recorded with the draw state and set as dynamic state for draws of the line topology class, held to the device's range. Only pipelines of that class list the new dynamic state, so the others keep their entries in the pipeline caches and the driver's. line_width = 0 draws every line 1 pixel wide as before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -313,6 +313,9 @@
|
||||
# drawn as a rectangle over solid ground at the Hyrule Castle moat and the Castle Town canal from some camera
|
||||
# positions, and can turn into a red beam there. 0: the water's shaders as they are.
|
||||
# water_projective = 1
|
||||
# Lines are drawn as wide as the game sets them (it draws two a frame 4.5 pixels wide into a small mask). 0: every
|
||||
# line 1 pixel wide, as up to 0.9.1.
|
||||
# line_width = 1
|
||||
# Optimisations, 0 turns each off: skip bindings that did not change, remember shader lookups, reuse the previous
|
||||
# draw's pipeline when its state repeats, remember texture descriptors between draws, update descriptors in bulk,
|
||||
# skip push constants that did not change.
|
||||
|
||||
Reference in New Issue
Block a user