Jump to content
  • entries
    948
  • comments
    5,905
  • views
    945,571

Final details on decals


I'm doing what I think is the final 3.6 build now. I've got the finished decal textures from Rich, and I made some small adjustments to the way these work.

 

During development, I was not a fan of the "Decal Mode" material setting. It's terribly confusing, and it's unrealistic to expect that everyone is going to adjust all their materials for an obscure setting that isn't intuitive at all.

 

Basically decals tend to have two kinds: Big decals are used to add detail to the map. Small decals are used for bullet marks. There are other uses, but this covers 95% of what you would want to do with them.

 

I set it up so decals have a checkbox in the properties that allows you to select which types of entities they appear on, brushes, models, and/or terrain. You can also call Decal::SetRenderMode(classid, mode) to control whether they appear on a per-class basis:

decal:SetRenderMode(Object.BrushClass,true)

 

The build will be up on the beta branch shortly.

 

blogentry-1-0-57560200-1440121636_thumb.jpg

  • Upvote 2

6 Comments


Recommended Comments

Einlander

Posted

Can we have size boxes on decals? Or have they already been put in?

Josh

Posted

A box is displayed when the decal is selected.

Josh

Posted

The build is up now.

Einlander

Posted

I mean a box with sizing handles. Sometimes decals need to be non square or simply need to be scaled visually.

  • Upvote 1
Josh

Posted

Decals are not brushes. Although that is an interesting idea I might consider in the future.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...