Skip to content

Releases

Surreal X 1.1.12

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 21:23

Fixes the black polygons and the "inside the model" view with tessellation on.

  • The scene rasterizer runs with depth clipping disabled, so near-plane crossing
    is handled only by SV_ClipDistance0 from the vertex shader. The tessellation
    path had dropped it, leaving tessellated walls with no near clipping: geometry
    crossing the near plane projected across the screen as black triangles.
  • Clip distance now flows through the hull and domain stages again, matching the
    vertex shader output.

sha256 a8d2ce8f9c68cb7ac3cf50a8f775ca972bf5fb5be613d268b6d3079c08edf734

Surreal X 1.1.11

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 21:15

Tessellation no longer moves nearby walls into the camera.

  • The offset fades out within 96 units of the eye and is capped at two world
    units, so geometry cannot be pushed through the viewpoint and fill the screen.
  • The domain shader samples the height map at t5/s5, the slot the draw binds,
    instead of relying on declaration order.
  • The tessellation log line now reports the tessellated batch itself, so its
    height, fade distance and UV rectangle are meaningful.

sha256 6bad3557621cd1550a822e8f823c835459ab6a0ae2e0bc73fdd2996d0f2041ce

Surreal X 1.1.10

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 21:09

Fixes the black screen with tessellation on - for a real reason this time.

  • The first logged tessellated batch had nonsense values (height 0.000000,
    uv ... 233607): it was not a surface at all. Batches that never fill the
    pack-light block (canvas, tiles, lines, points) inherited the previous batch's
    contents, so a stale tessellation flag turned a UI draw into a patch draw. The
    UI vanished, hence the black screen.
  • Every new batch now starts from a zeroed block, and a batch must have a height
    map bound before it can be tessellated.

sha256 4eb8ee8f485bb3a1bb19b458dfa5751cbd11876e6c3f4c013fb5fd559e603e4e

Surreal X 1.1.9

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 21:01

Another pass at the vanishing geometry with tessellation on.

  • A degenerate triangle made the object-space normal NaN, which made the clip
    position NaN and removed the patch. The normal is now checked and the offset is
    clamped to four world units.
  • Clip distance is no longer passed through the hull and domain stages.
  • The first tessellated batch logs D3D11Drv: tessellation active, height ... fade ... uv ... so the parameters can be checked against what the shader uses.

sha256 712f5ba1dfa2a7e04461158602d7b8e3d1894b8b71ce9e3c92074d80dd3ee2d3

Surreal X 1.1.8

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 20:51

Fixes the black screen and missing menu with tessellation on.

  • The hull and domain stages stayed bound after the tessellated draw. The 2D pass
    then rendered with a hull shader set and non-patch topology, so it drew nothing:
    no menu, black picture. They are now unbound immediately after each such draw,
    and the 2D pass clears them too.
  • D3D11Drv: tessellation active in the log confirms the first tessellated batch.

sha256 b4b12fb03f9cd60f85276ad41b20118feb44409fd252c445ba495db4d2f796fd

Surreal X 1.1.7

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 20:45

Adds an opt-in Tessellation row to the settings page (off by default).

  • Walls and floors within 1600 units are split into patches sized by their
    projected edge length (about one triangle per 24 pixels, at most 8) and every
    vertex is pushed along the surface normal by the pack's height map.
  • The displacement is centred on the pack's mean height and fades to zero over
    the last 4% of each surface's UV rectangle, so surfaces that meet at an edge
    flatten out together instead of cracking apart.
  • Needs feature level 11_0. If the hull or domain shader cannot be built, the
    log says so and the flat path keeps running.

Nothing else changes when the row is off, which is the default.

sha256 4a83dbfe6f2723b42b8727a95ddcd13c6036ac42ad8877236cbbe96ead7313d9

Surreal X 1.1.6

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 20:27

Stops the relief from warping the walls.

  • The occlusion march always found a hit, so the dark parts of the height map
    (the mortar) slid by almost the full depth while the bricks stayed put. Replaced
    by offset mapping: one height sample shifted by its distance from the surface
    average, so the texture keeps its place instead of swimming.
  • Relief intensity is now gentle at the bottom: depth is quadratic over
    0.1%..1.2% of the texture (default 50% -> 0.38%), and the shading ramps as
    intensity squared.
  • One height sample per pixel instead of eight, so no more slow frames.

sha256 4d4c1a1657a55c5a20ea5fafd8f2f682e9c02986233f6851890882b00361955c

Surreal X 1.1.5

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 20:19

Fixes the freeze and makes 0% relief a true vanilla reference.

  • 1.1.4 forced mip level 0 on eight height samples per pixel, which ran at
    roughly one frame per second. The pack maps now sample with proper gradients.
  • Relief intensity at 0% skips the march and the shading completely, so with
    the pack on and the slider at 0% the wall must look exactly like the pack off.
  • Diffuse keeps the SampleGrad fix, so the parallax can no longer drag the
    texture down to the coarsest mip.

sha256 649ac71734f717bfbe05094b6cb666e09b6b6f1db4199940070f12b78399033f

Surreal X 1.1.4

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 20:02

Fixes the smeared, distorted walls when the bump maps are on.

  • The parallax march shifts uv inside a per-pixel loop, and implicit derivatives
    taken after it selected the coarsest mip, so the diffuse turned into big
    blurred blobs - and got worse the higher the relief slider went.
  • Diffuse now samples with SampleGrad from the untouched texture coordinates;
    the pack's single-mip maps sample level 0.
  • With Relief intensity at 0% the walls should now be identical to the pack being
    off, and raising the slider should add relief without changing texture scale.

sha256 386120b5183c554e563848e97f886796baa08d5344e90f075a77919dba3fbb42

Surreal X 1.1.3

Choose a tag to compare

@Rockso85 Rockso85 released this 02 Dec 19:51

Relief strength is now controlled by the slider, and 0% is exactly vanilla.

  • Relief intensity scales both the shading strength and the parallax depth.
    At 0% a wall looks like the original game; at 100% it is the full effect.
  • Removed the invented fixed light that was painted over surfaces with no light
    actor near them - that was the embossed, over-contrasted look.
  • Normal-map slope multiplier reduced from 2.0 to 1.5, so mortar no longer goes
    black.

Set Relief intensity to 0% first and check it matches the PC version; then raise
it in steps to pick a strength.

sha256 3fbc80d18e8af63700466532c657ca940a3eb1269aeca7c97933c00600453fc8