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. Hello from Normandy: Metin, working on a tactical FPS

    zlatan24
    November 17, 2026 at 6:29 PM
  2. Custom Gamemodes Contest

    cherybomb
    November 17, 2026 at 6:41 AM
  3. Mapcore Introductions Thread

    bergman
    November 16, 2026 at 12:21 PM
  4. [TF2] koth_arctic - revisiting my old winter map

    Hanz
    November 13, 2026 at 9:42 PM
  5. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

    zlatan24
    November 12, 2026 at 6:23 PM
  6. CS2 sticker critique | Would the eye or blade read first on an AK?

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM
  7. dod_poznan

    Smile_2000
    November 9, 2026 at 9:10 AM
  8. [cs2][WIP] De_digital (A side only) Looking for Feedback

    Howw3
    November 5, 2026 at 9:22 PM
  9. How do I setup CS1.6 mapping on linux?

    zlatan24
    November 2, 2026 at 6:43 AM
  10. CS:S | de_honor | Map creation process by D'artagnan

    Dartagnan
    November 1, 2026 at 5:41 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™