x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Controlling a light function via matinee doesn't work

Hey Epic, I created a light function to duplicate the functionality of barn doors on my lights - and I tried using a Float Material Parameter track in Matinee to control it (selected the material, made sure the name of the property was correct, etc.). This failed to work.

Then I tried the more disturbing blueprint route: creating a Dynamic Material Instance during construction - setting the light function material for the light to the created MID - and then on Event Tick setting the value of the material parameter to a variable named "LetterBoxAmount" I can mung this variable in the editor and the material parameter reacts appropriately (i.e. my light changes shape. As soon as I use Matinee to control the "LetterBoxAmount" variable - however - the material parameter doesn't change. I can see the value of the variable changing to the animation curves in Matinee but the light function doesn't seem to be receiving this input.

Hopefully that's clear enough to understand. I'm using the 4.4 release (nothing custom). Let me know if I sucked at the bug report or if you have trouble repro-ing it.

-Chris

Product Version: Not Selected
Tags:
more ▼

asked Aug 21 '14 at 11:41 PM in Bug Reports

avatar image

opticol
21 2 3 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I'm having the same problem in 4.9.1 now.. Light function, instance of it assigned to the lights, i add these lights to lighting group and change the parameters in vector material param track, but it does not change for some reason..

Anyone had/has the same problem?

Sorry for digging an old thread, but i thought it was a better idea than starting a new one

more ▼

answered Oct 23 '15 at 08:25 AM

avatar image

BiggestSmile
1.6k 54 38 105

avatar image BiggestSmile Oct 23 '15 at 02:29 PM

UE does not actually support light functions in material parameter track, not sure how opticol managed to make it work.. Added support for them, now everything works :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Came in this morning and the whole thing magically started working even though we haven't changed anything. Gonna go with computer voodoo.

more ▼

answered Aug 22 '14 at 07:12 PM

avatar image

opticol
21 2 3 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question