Announcement

Collapse
No announcement yet.

Help: Compilation error of a material?

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

    Help: Compilation error of a material?

    I create a simple material:

    TextureCoordinate
    connects to
    ComponentMasks (R=true)
    connects to
    Sine (Period=1)
    connects to
    Diffuse

    When I save the material I get the following error written with red font:

    ...\memory(130,81): error X5984: Components of register v1 being read, but not declared. v# registers must be declared using dcl statement(s) (down to the component level). Affected components (*): *r/x/0 *g/y/1 *b/z/2 a/w/3

    What is going on?

    #2
    Not that knowledgeable about the Material Editor, but maybe your are connecting nodes in a way that don't make sense?

    Comment


      #3
      Not got a clue, sorry. Plugs into emissive fine :/

      Comment


        #4
        Lilium - you making that futuristic map?- or fixing the shock bug texture ?
        -- that would be nice

        never seen that error before: could be a million and 1 things

        1.What are you using the texture for?
        2. have you tried adding Time / ABS making sure its Multiplied to your texture etc

        you can then add min max etc-
        so your sine does stuff

        -- htf did you get an error with 3 boxes [material expressions] - lol?

        i dont have your error after 60+ instructions & i added your 3?

        Comment

        Working...
        X