Skip to content

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
MTABot pushed a commit that referenced this pull request Jan 26, 2025
fe1dd06 Apply element filter for buildings in engineApplyShaderToWorldTexture (PR #3973)
@TheNormalnij TheNormalnij deleted the TheNormalnij/building_shader branch January 29, 2025 10:57
@TheNormalnij TheNormalnij mentioned this pull request Jan 29, 2025
@TheNormalnij TheNormalnij mentioned this pull request Feb 8, 2025
1 task
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