Announcement

Collapse
No announcement yet.

OSL Texture Blue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OSL Texture Blue

    Hi All,

    It seems that texture blurring isn't working for OSL textures. See the following example:

    Code:
    shader blurtest01
    (
           string test_bitmap = "",
           float blur_val = 0.0,
           output color Col_Out = color(0.5)
    )
    {
        color cColor = texture (test_bitmap, u, v, "blur", blur_val);
        Col_Out = cColor;
    }
    Is there another parameter that I'd need for it to work?

    Thanks!
    Rens
    Rens Heeren
    Generalist
    WEBSITE - IMDB - LINKEDIN - OSL SHADERS

  • #2
    I believe in 3ds Max this is controlled by the texture's own blur parameters.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Ok, thanks!
      Rens Heeren
      Generalist
      WEBSITE - IMDB - LINKEDIN - OSL SHADERS

      Comment


      • #4
        Unfortunately the only keyword argument we support for the texture built-in function is "alpha".

        You could try and use the "Coordinates" section of the OSL texture/material plug-in and/or the Bitmap one's.

        Comment

        Working...
        X