Skip to content

Support GLES in internal shaders and Vulkan software clip distance fallback#7489

Open
Shivansps wants to merge 3 commits into
scp-fs2open:masterfrom
Shivansps:gles-shaders
Open

Support GLES in internal shaders and Vulkan software clip distance fallback#7489
Shivansps wants to merge 3 commits into
scp-fs2open:masterfrom
Shivansps:gles-shaders

Conversation

@Shivansps

@Shivansps Shivansps commented May 31, 2026

Copy link
Copy Markdown
Contributor
  1. Added conditional presicion quantifiers
  2. Implement software varying clip distance fallback for GLES and Vulkan
  3. Removed usage glBindFragDataLocation() for both GL and GLES now all fragOutN use location=N in shader.
  4. Vulkan will now export "#define USE_HW_CLIP_DISTANCE" as a shader header if clip distance features are availible.
  5. Fixed int/float operations that GLES rejects

@qazwsxal

Copy link
Copy Markdown
Contributor

re: envmap I don't think outColor is actually used, so try deleting that line

@BMagnu BMagnu added the Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle label May 31, 2026
@BMagnu BMagnu added graphics A feature or issue related to graphics (2d and 3d) and removed Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle labels Jul 5, 2026
@Shivansps
Shivansps marked this pull request as draft July 16, 2026 01:53
@Shivansps Shivansps changed the title Support GLES in internal shaders Support GLES in internal shaders and Vulkan software clip distance fallback Jul 22, 2026
@Shivansps
Shivansps marked this pull request as ready for review July 23, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

graphics A feature or issue related to graphics (2d and 3d)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants