Skip to content

Conversation

CDM15y
Copy link
Contributor

@CDM15y CDM15y commented Jul 17, 2024

Removed presicion mediump float because it is for GLES, and not desktop GL.
also removed 'in' that are in a multitude of lines, because someone when porting it didn't remove it and didn't test it.

Tested on Mesa Mobile Intel® GM45 Express Chipset (CTG) (0x2a42)

it works.

remove presicion mediump float because it is for GLES, and not desktop GL
@CDM15y CDM15y changed the title Update pbr.fs [examples] Update pbr.fs Jul 17, 2024
@CDM15y CDM15y changed the title [examples] Update pbr.fs [examples] Fix PBR shaders for GLSL 1.20 Jul 17, 2024
@CDM15y
Copy link
Contributor Author

CDM15y commented Jul 17, 2024

I am going to test the other shaders, and try to port the GLSL 330 ones.

also suffers the same problem as pbr.fs
@CDM15y CDM15y changed the title [examples] Fix PBR shaders for GLSL 1.20 [examples] Fix PBR and Shadowmap example shaders for GLSL 1.20 Jul 17, 2024
@CDM15y
Copy link
Contributor Author

CDM15y commented Jul 17, 2024

Fixed shadowmap.fs

@raysan5
Copy link
Owner

raysan5 commented Jul 20, 2024

EDIT: Sorry, I missunderstood the comment. Thanks for the improvement!

@raysan5 raysan5 merged commit 2d94d8d into raysan5:master Jul 20, 2024
@CDM15y
Copy link
Contributor Author

CDM15y commented Jul 22, 2024

No problem

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.

2 participants