• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

Question Any way to have more than 6 pixel lights in one scene?

insomnia

New member
Joined
May 7, 2022
Messages
7
Reactions
0
The default pixel light count limited to 6, any way to break the limit?
 
As I understand it, the pixel light count doesn't limit how many can be in a scene. It limits how many can be illuminating any single vertex. So if you find yourself needing more than 6 in your scene, think about limiting where the lights shine. For example use spot lights rather than point lights, so each light is only illuminating the surfaces you intend it to light, with no unintended spillover. A couple point lights off in the distance may not be providing useful illumination to a specific part of the scene, but they still count towards the light limit.
 
Last edited:
Upvote 0
As I understand it, the pixel light count doesn't limit how many can be in a scene. It limits how many can be illuminating any single vertex. So if you find yourself needing more than 6 in your scene, think about limiting where the lights shine. For example use spot lights rather than point lights, so each light is only illuminating the surfaces you intend it to light, with no unintended spillover. A couple point lights off in the distance may not be providing useful illumination to a specific part of the scene, but they still count towards the light limit.
So is there a way to have more than 6 pixel lights illuminating a single vertex?
 
Upvote 0
I don't think so. Whichever Vam decides is the least important light will be turned into a vertex light.
 
Upvote 0
So is there a way to have more than 6 pixel lights illuminating a single vertex?
Hey! Check this out!
1672715643506.png


In your Vam root directory, open "prefs.json" with a text editor. Search for "pixelLightCount", change it to whatever you want, and save.

It seems to work, though I haven't actually tested it out. Not sure how i would!
 
Upvote 0
Or try setting renderMode to ForcePixel (default:Auto) on all lights to prevent switching Point/Vertex mode.
It should also bypass pixel light count on user settings.
 
Upvote 0
Hey! Check this out!View attachment 194767

In your Vam root directory, open "prefs.json" with a text editor. Search for "pixelLightCount", change it to whatever you want, and save.

It seems to work, though I haven't actually tested it out. Not sure how i would!
I've tested it , it seems worked! thanks for your help~?
 
Upvote 0
Back
Top Bottom