Skip to content

Use .zw for screenspace_general on c4-c7 as texture size#1938

Open
Akabenko wants to merge 2 commits into
ValveSoftware:masterfrom
Akabenko:patch-3
Open

Use .zw for screenspace_general on c4-c7 as texture size#1938
Akabenko wants to merge 2 commits into
ValveSoftware:masterfrom
Akabenko:patch-3

Conversation

@Akabenko
Copy link
Copy Markdown

@Akabenko Akabenko commented May 27, 2026

This code from pull request will use c4-c7 as const float4:

  • .xy as Texel Size. 1 / Width and 1 / Height. (default)
  • .zw as Texture Size. Width and Height. (extra values)

Akabenko added 2 commits May 27, 2026 16:53
This code will use `c4`-c7` as `const float4`:
- `.xy` as Texel Size. `1 / Width` and `1 / Height`. (default)
- `.zw` as Texture Size. Width and Height. (extra values)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant