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
Feature Request - Displacement Map #5554
Labels
Comments
Hey ... that's pretty exciting. Feel free to create a PR and we can discuss it there perhaps? |
Created a draft pull request #5573 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: