1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Blending textures of different sizes in Source

  • Erratic
  • November 15, 2007 at 3:38 AM
  • Erratic
    • November 15, 2007 at 3:38 AM
    • #1

    I can't remember if this was possible but I think I recall someone on the INS team doing this (or at least discussion of it; Bluestrike I'm looking your way ).

    Is it possible to blend two textures of different dimensions in Source (1024x1024 with --> 2048x1024) without having one texture stretch or shrink based on the size of the other?

  • Skjalg
    • November 15, 2007 at 6:44 AM
    • #2

    yes. its the default setting I think

    You should try it before you ask ;D

  • Erratic
    • November 15, 2007 at 1:33 PM
    • #3

    The default? Without any extra parameters the textures will scale up or down depending on the order in the .vmt

    I've screwed around a bunch before I posted, unless I'm just missing something? As far as I know the default is to scale. Which is what I want to avoid.

  • Erratic
    • November 15, 2007 at 2:12 PM
    • #4

    Hmm, after digging around I found this line

    Code
    "$basetexturetransform2" "center .5 .5 scale 1 1 rotate 0 translate 0 0"

    but it appears it only works with the shader type "WorldTwoTextureBlend" which appears to have been replaced by "WorldVertexTransition", and "$basetexturetransform2" seems to have no affect on it.

  • Skybex
    • November 15, 2007 at 3:34 PM
    • #5
    Quote from Erratic

    but I think I recall someone on the INS team doing this

    It was me. I couldn't get it to work properly using the $basetexturetransform command. It almost seemed like it would randomly decide if it wanted to work or not. I managed to get some to work but not others and didn't really spend the time trying to figure out what was wrong, so i just resized my textures instead.

  • Furyo
    • November 15, 2007 at 4:35 PM
    • #6

    Yeah, couldn't really go around that either on DM.

    At this time, I'd just wait until we can learn more on the new blending system in Episode 2. Not sure the wiki has the info so far, but I remember in the Source Developers Conference '06 videos Robin Walker (think it was him) talking about it

  • Erratic
    • November 15, 2007 at 5:00 PM
    • #7

    Hmm, alright then, thanks guys.

  • Bluestrike
    • November 17, 2007 at 11:10 AM
    • #8

    Texture sizes should not matter, the problem is where rock and ground textures meet.

    Usually you want to scale up the rock faces to look good, but that means the other texture in the blend texture also gets rescaled.

    Bastetexturetransform(2) should be usefull to scale only one of the 2 textures in the blend but like mentioned its not working.

    I put it on valve's bugzilla and it got assigned but its still a questionmark if they fix it and when

    hmm Skybex it works for the shader "WorldTwoTextureBlend" ?

    I should try using that for my displacements then and see if it works, but a nasty sideeffect of that os is that the alpha's are inversed ingame compared to how it looks in hammer.

  • Nysuatro
    • November 17, 2007 at 1:18 PM
    • #9

    So, what about gameplay ? New ideas coming ? ...

  • Skjalg
    • November 18, 2007 at 9:03 AM
    • #10

    ah sorry mate, I misread your post

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™