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

Apply element filter for buildings in engineApplyShaderToWorldTexture #3973

Merged

Conversation

TheNormalnij
Copy link
Member

Allows applying shaders to specific created building elements.

Example:

local building = createBuilding(8395, 100, 0, 3)
local buildingShader = dxCreateShader("building.fx",0,0 ,false,"world")
engineApplyShaderToWorldTexture(buildingShader, "luxorwindow01_128", building)

@TheNormalnij TheNormalnij added this to the 1.6.1 milestone Jan 22, 2025
@TheNormalnij TheNormalnij added the enhancement New feature or request label Jan 22, 2025
Copy link
Member

@tederis tederis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@botder botder merged commit fe1dd06 into multitheftauto:master Jan 26, 2025
6 checks passed
@TheNormalnij TheNormalnij deleted the TheNormalnij/building_shader branch January 29, 2025 10:57
@TheNormalnij TheNormalnij mentioned this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants