Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the current .PIE SHADERS directive support #380

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -104,7 +104,9 @@ This feature was removed in commit 823cf08bb18cf24852bac8595b3899aca12d4f7b.
Optional. Specifies the material properties of a mesh. The nine first values give the RGB values for ambient, diffuse and specular lighting, respectively. The last value sets shininess.

### SHADERS
### SHADERS (disabled)

This feature is currently unsupported.

> SHADERS 2 vertex.vert fragment.vert
@@ -631,9 +631,7 @@ static iIMDShape *_imd_load_level(const WzString &filename, const char **ppFileD
debug(LOG_ERROR, "%s shader corrupt: %s", filename.toUtf8().c_str(), buffer);
return nullptr;
}
std::vector<std::string> uniform_names { "colour", "teamcolour", "stretch", "tcmask", "fogEnabled", "normalmap",
"specularmap", "ecmEffect", "alphaTest", "graphicsCycle", "ModelViewProjectionMatrix" };
s.shaderProgram = pie_LoadShader(VERSION_AUTODETECT_FROM_LEVEL_LOAD, VERSION_AUTODETECT_FROM_LEVEL_LOAD, filename.toUtf8().c_str(), vertex, fragment, uniform_names);
debug(LOG_WARNING, "SHADERS directive no longer supported!");
pFileData += cnt;
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.