Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Default MultiplicateColour in LightObstacleGenerator.cs #1

Open
damagefilter opened this issue Feb 21, 2017 · 1 comment
Open

Default MultiplicateColour in LightObstacleGenerator.cs #1

damagefilter opened this issue Feb 21, 2017 · 1 comment

Comments

@damagefilter
Copy link

Hello.

I'll try to make it short:
Basically: Since the MutliplicativeColour is full black the generated obstacle overlays the
actual object completely black.
Do you think there can be a way to set a default colour somewhere in a settings panel, for instance?

I don't know of the usage statistics and what is more common in general
but at least I find myself rarely wanting the obstacle to be pitch black
Of course it can always be changed but in all likelihood one might have a set up
where you want a certain colour in most cases and not having to adjust it seems like a nice addition.

I could make a pull-request for some such thing I'm just wondering if that'd be something you'd want to do in the first place.

@samuelGrahame
Copy link

samuelGrahame commented Jan 10, 2018

in the light Obstacle Generator - just change the this code:

public Color MultiplicativeColor = new Color(0, 0, 0, 1f); - i changed my alpha to 0.5f

to what ever color you want.

also it loads the dual color only in editor view. which means you will need to make it so it loads at run time- or it is a variable that you select. (DualColor) Material.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants