View Issue Details

IDProjectCategoryView StatusLast Update
0006621DarkRadiantMap Editingpublic11.05.2025 10:32
ReporterFrost_Salamander Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
PlatformPCOSWindowsOS Version11
Product Version3.9.0 
Summary0006621: 'Create Decal Patches' should always use current shader on ShaderClipboard
DescriptionWhen you select a brush face and create a decal patch, sometimes the patch is created with the _default material applied (i.e. the 'shader not found' material). It would seem to make sense to always create the patch using whatever is on the shader clipboard instead.

I think this happens when the material on the shader clipboard isn't a decal (i.e. doesn't contain DECAL_MACRO or other decal keywords). If the material is a decal (e.g. grime corners) then it works fine.

Two use cases for enabling this:
- When creating a lot of patches for rain splashes (which aren't decals) because you have to find, select and apply the material every time you create the patch which gets tedious pretty quickly.
- It sometimes faster and easier to create non-decal patches using this method then from brushes, so why not let it work with any material?
Steps To Reproduce1. Load any map
2. Load a non-decal material onto your shader clipboard by using the 'Pick Shader' tool (for example, rain_splash_moderate)
3. Select a brush face and select Brush -> Create Decal Patches from the menu.
4. Observe the patch is created using the _default material instead of what's on your shader clipboard.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
10.05.2025 21:21 Frost_Salamander New Issue
11.05.2025 09:34 Frost_Salamander Summary 'Create Decal Patches' should use current shader on ShaderClipboard => 'Create Decal Patches' should always use current shader on ShaderClipboard
11.05.2025 09:34 Frost_Salamander Description Updated
11.05.2025 09:34 Frost_Salamander Steps to Reproduce Updated
11.05.2025 09:34 Frost_Salamander Description Updated
11.05.2025 10:32 Frost_Salamander Description Updated