Announcement

Collapse
No announcement yet.

Projector

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

  • replied
    OMFG IFIGURED IT OUT YAY!!! Its just a great feeling when you fix things yourself!

    Leave a comment:


  • replied
    I have another final quetion, i hope final, I have a Shader:
    Code:
    var() Material PaintTex;
    var() Combiner PaintTexComb;
    var() ConstantColor PaintTexColor;
    var() color PaintColor;
    var() Shader PaintTexShad;
    
    event PreBeginPlay()
    {
        // Spawn Paint Props //
        PaintTexColor = new(self) Class'Engine.ConstantColor';
        PaintTexComb = new(self) Class'Engine.Combiner';
        PaintTexShad = new(self) Class'Engine.Shader';
    
        // Fix Paint Color //
        PaintTexColor.Color = PaintColor;
        PaintTexComb.CombineOperation = CO_Multiply;
        PaintTexComb.Material1 = PaintTex;
        PaintTexComb.Material2 = PaintTexColor;
        PaintTexShad.Diffuse = PaintTexComb;
        PaintTexShad.Opacity = PaintTex;
        ProjTexture = PaintTexShad;
    }
    Now if im correct that should work, but it projects a big White box...
    Now im not sure why, and i made sure that the shader and comb worked in editor, so i dunno wats rong.
    Any ideas?

    Leave a comment:


  • replied
    W00T I DID IT!!!

    Leave a comment:


  • replied
    *BUMP*

    Leave a comment:


  • replied
    What i need now is to project like color, its actig like a light.. how do i go about fixin that?
    [EDIT] Is it because its not color? lol
    [EDIT] Fixed the blending, but it disappeards. Odd Hmm..

    Leave a comment:


  • replied
    i forgot about bAlwaysRelevent i set that true, now im looking at the projector in Junkyard, and i think the blending i need is there, we will soon find out

    Leave a comment:


  • replied
    Some projectors (not all) will destroy if you dont look at them for a few seconds, or if bDropDetail is true. I forget where its implemented. It's been forever since I worked with projectors that werent shadows.

    As for the black transparent parts, maybe you have the MaterialBlendingOp or FrameBufferBlendingOp set wrong? Theres like 3 or 4 of them, and different combinations do different things.

    Leave a comment:


  • replied
    but it is set relative hmm odd eh?

    Leave a comment:


  • replied
    I have a feeling it becomes non relevant when you look away, which is why it ends up destroyed... I'm not sure how one would fix this though, but maybe that's a good place to start

    Leave a comment:


  • started a topic Projector

    Projector

    This projector i coded works fine, except a few choice things:

    1) Get far enough and look away, disappears before its lifespan ends...
    2) Transparent sectiosn of the texture are black...

    Anyway to fix this? I want the texture render Normal and it to be destroyed after the lifespan runs out not when i look away.

    Any Suggestions?

    Ty in advance, ::B!G::
Working...
X