We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Displacement map vertex shader would be a cool feature to implement.
Managed to prepare a project with displacement effect by replacing transformVS.
Here is the Project Link (Working properly with lights and shadows)
Displacement Effect in use:
if(options.useDisplacement) code+= #define DISPLACEMENT
#ifdef DISPLACEMENT
matrix_normal * sample_texture
code += displacementVS
The text was updated successfully, but these errors were encountered:
Hey ... that's pretty exciting. Feel free to create a PR and we can discuss it there perhaps?
Sorry, something went wrong.
Created a draft pull request #5573
Successfully merging a pull request may close this issue.
Displacement map vertex shader would be a cool feature to implement.
Managed to prepare a project with displacement effect by replacing transformVS.
Here is the Project Link (Working properly with lights and shadows)
Screenshots
Displacement Effect in use:
My try on trying to create it in engine: (can provide a PR but it is not working as intended)
if(options.useDisplacement) code+= #define DISPLACEMENT
in shader definition.#ifdef DISPLACEMENT
seems not picking while rendering shadows.Screenshots
Issues while engine implementation :
matrix_normal * sample_texture
will throw error otherwise because of undefined texture)code += displacementVS
.Recommendations:
The text was updated successfully, but these errors were encountered: