Jump to content

3D

Levels and models

4,308 topics in this forum

    • 13,845 replies
    • 1,587,489 views
    • 5,599 replies
    • 618,339 views
    • 158 replies
    • 46,881 views
  1. Mapcore FACEIT Hubs

    • 58 replies
    • 6,413 views
  2. MapCore CS:GO Playtesting 5.0

    • 57 replies
    • 14,384 views
  3. go-kart model

    • 586 replies
    • 48,342 views
    • 517 replies
    • 108,574 views
    • 487 replies
    • 384,256 views
  4. Games W.I.P Thread

    • 431 replies
    • 41,629 views
  5. de_corse

    • 387 replies
    • 64,520 views
  6. procedural FPS

    • 381 replies
    • 50,083 views
    • 311 replies
    • 44,720 views
    • 268 replies
    • 46,004 views
  7. [CS:GO]de_zoo

    • 244 replies
    • 34,069 views
  8. Crysis Map ~ Vulcano [WIP]

    • 214 replies
    • 15,611 views
    • 210 replies
    • 39,719 views
    • 204 replies
    • 23,764 views
    • 181 replies
    • 18,213 views
    • 178 replies
    • 21,949 views
  9. De_ruins

    • 174 replies
    • 17,797 views
    • 172 replies
    • 35,602 views
    • 172 replies
    • 40,576 views
  10. de_ungarn

    • 168 replies
    • 30,830 views
    • 159 replies
    • 21,007 views
  11. [csgo] cs_cruise

    • 155 replies
    • 21,574 views
  • MapCore on Discord

  • Our picks

    • Post in [decompiled] dz_blacksite
      Alright, I did some testing with the new detail sprites and found out how more specifically how they work. @Mamorex was on the right track but there's a few key things you left out. 

      Removing $alphatest from the material or adding $translucent

      First, the detail sprites material - it's 2 detail sprite sheets side by side, so version A and version B. The different versions have to have same sprite positions and sizes. You only specify version A coordinates in the .vbsp.


      Next up, the detail sprites masks. Red and blue are for wind offset -- so you can have different parts of the sprites sway in the wind differently, you can see Valve isolated some blades of grass for this effect. The green channel is a tint mask and controls how much the sprites are affected by the $worldspacetint. 

      That brings us to the world space textures. They seem to automatically get resized to fit the whole map area, so it you resize the map you'd have to resize the textures too.

      The world space tint texture is pretty self explanatory, controls what color to tint the grass, 127 grey means no tint. 

      The world space masks texture uses the red channel to select which version of the sprites to use -- 0 is version A and anything more is version B. 

      The green channel of the texture controls the sprite size -- 127 is default, with darker making the sprites smaller and brighter making the sprites larger. The vmt command $minimumspritesize controls the cutoff point for the sprites, so the sprites smaller than the specified value don't get rendered which can act as a placement mask. 

      I don't know what the blue channel of this texture does, changing it had no effect on the sprites for me. 

       

      All this means sprites still get placed by vbsp on map compile, so they still use displacement alpha for the placement, but the new masks can manipulate sprites size and color after map compile.


       

       
  • Articles (view all)

×