OpenTechEngine / OpenTechBFG

Engine based on (RB) Doom 3 BFG aiming to allow the creation of standalone games
Other
84 stars 11 forks source link

No cg #142

Closed BielBdeLuna closed 6 years ago

BielBdeLuna commented 6 years ago

Burn in hell CG! long live GLSL!

To use the GLSL files as source instead of the old CG you have to generate them first, therefore :

+set r_useOpengl32 2 +set r_sourceGLSL 1 +set r_alwaysExportGLSL 1

The first command sets the engine using OpenGL 3.2, the second command is new and sets the engine searching for GLSL files, and the last command will generate the GLSL accordingly from the CG files that now reside in their new directory "cg" and writes the new GLSL files at /renderprogs/ as well as generate HLSL and a copy of the GLSL in the glsl-1_50 directory as before,

Then once the engine started (the GLSL files will be created by now) quit to desktop and enter again, but now with the following chore:

+set r_useOpengl32 2 +set r_sourceGLSL 1 +set r_alwaysExportGLSL 0

And there won't be CG nevermore!

But if again, just +set r_useOpengl32 2 is entered and nothing more. Then the engine will go back to normal, and use the CG files from the /renderprogs/cg/ directory and run as heretofore!

kortemik commented 6 years ago

Please note https://ci.appveyor.com/project/kortemik/opentechbfg/build/1.0.226

On Tue, Sep 26, 2017 at 6:41 PM, Biel Bestué de Luna < notifications@github.com> wrote:

Merged #142 https://github.com/OpenTechEngine/OpenTechBFG/pull/142.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenTechEngine/OpenTechBFG/pull/142#event-1266026329, or mute the thread https://github.com/notifications/unsubscribe-auth/AA19OgW0y1_ZhFNjKTJsBWKDRUGjSJwZks5smRsRgaJpZM4PU7KE .

BielBdeLuna commented 6 years ago

I don't know how to interpret this error message, what does it mean?

BielBdeLuna commented 6 years ago

but then Appveyor passed the test?

BielBdeLuna commented 6 years ago

a detailed explanation of this PR: https://github.com/OpenTechEngine/Discussions/issues/50

damiel commented 6 years ago

Well looking at the other tabs of AppVeyor, its seems it didnt created a new windows build which we have to investigate, i am trying to find out more.

EDIT

Okay, it seems the download of nsis-3.0rc2-setup.exe failed which resulted in a failed hashsum check. Which makes the whole build fail obviously.

@kortemik Is there some way to check the content of the build environment like logging in to the build host are something among those lines?

But i think the build failure is not related to the code changes, just some downloading issues...